| ... | ... | @@ -344,6 +344,8 @@ const usage_build_generic = |
| 344 | 344 | \\ --emit-relocs Enable output of relocation sections for post build tools |
| 345 | 345 | \\ -dynamic Force output to be dynamically linked |
| 346 | 346 | \\ -static Force output to be statically linked |
| 347 | \\ --allow-shlib-undefined Allows undefined symbols in shared libraries |
| 348 | \\ --no-allow-shlib-undefined Disallows undefined symbols in shared libraries |
| 347 | 349 | \\ -Bsymbolic Bind global references locally |
| 348 | 350 | \\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker |
| 349 | 351 | \\ --stack [size] Override default stack size |
| ... | ... | @@ -973,6 +975,10 @@ fn buildOutputType( |
| 973 | 975 | link_eh_frame_hdr = true; |
| 974 | 976 | } else if (mem.eql(u8, arg, "--emit-relocs")) { |
| 975 | 977 | link_emit_relocs = true; |
| 978 | } else if (mem.eql(u8, arg, "--allow-shlib-undefined")) { |
| 979 | linker_allow_shlib_undefined = true; |
| 980 | } else if (mem.eql(u8, arg, "--no-allow-shlib-undefined")) { |
| 981 | linker_allow_shlib_undefined = false; |
| 976 | 982 | } else if (mem.eql(u8, arg, "-Bsymbolic")) { |
| 977 | 983 | linker_bind_global_refs_locally = true; |
| 978 | 984 | } else if (mem.eql(u8, arg, "--verbose-link")) { |