| ... | @@ -340,12 +340,12 @@ const usage_build_generic = | ... | @@ -340,12 +340,12 @@ const usage_build_generic = |
| 340 | \\ -rpath [path] Add directory to the runtime library search path | 340 | \\ -rpath [path] Add directory to the runtime library search path |
| 341 | \\ -feach-lib-rpath Ensure adding rpath for each used dynamic library | 341 | \\ -feach-lib-rpath Ensure adding rpath for each used dynamic library |
| 342 | \\ -fno-each-lib-rpath Prevent adding rpath for each used dynamic library | 342 | \\ -fno-each-lib-rpath Prevent adding rpath for each used dynamic library |
| | 343 | \\ -fallow-shlib-undefined Allows undefined symbols in shared libraries |
| | 344 | \\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries |
| 343 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker | 345 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker |
| 344 | \\ --emit-relocs Enable output of relocation sections for post build tools | 346 | \\ --emit-relocs Enable output of relocation sections for post build tools |
| 345 | \\ -dynamic Force output to be dynamically linked | 347 | \\ -dynamic Force output to be dynamically linked |
| 346 | \\ -static Force output to be statically linked | 348 | \\ -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 | | |
| 349 | \\ -Bsymbolic Bind global references locally | 349 | \\ -Bsymbolic Bind global references locally |
| 350 | \\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker | 350 | \\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker |
| 351 | \\ --stack [size] Override default stack size | 351 | \\ --stack [size] Override default stack size |
| ... | @@ -975,9 +975,9 @@ fn buildOutputType( | ... | @@ -975,9 +975,9 @@ fn buildOutputType( |
| 975 | link_eh_frame_hdr = true; | 975 | link_eh_frame_hdr = true; |
| 976 | } else if (mem.eql(u8, arg, "--emit-relocs")) { | 976 | } else if (mem.eql(u8, arg, "--emit-relocs")) { |
| 977 | link_emit_relocs = true; | 977 | link_emit_relocs = true; |
| 978 | } else if (mem.eql(u8, arg, "--allow-shlib-undefined")) { | 978 | } else if (mem.eql(u8, arg, "-fallow-shlib-undefined")) { |
| 979 | linker_allow_shlib_undefined = true; | 979 | linker_allow_shlib_undefined = true; |
| 980 | } else if (mem.eql(u8, arg, "--no-allow-shlib-undefined")) { | 980 | } else if (mem.eql(u8, arg, "-fno-allow-shlib-undefined")) { |
| 981 | linker_allow_shlib_undefined = false; | 981 | linker_allow_shlib_undefined = false; |
| 982 | } else if (mem.eql(u8, arg, "-Bsymbolic")) { | 982 | } else if (mem.eql(u8, arg, "-Bsymbolic")) { |
| 983 | linker_bind_global_refs_locally = true; | 983 | linker_bind_global_refs_locally = true; |