mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 06:44:27 +00:00
Rename --(no-)allow-shilb-undefined to -f(no-)allow-shilb-undefined
This breaks with GNU ld but is consistent with our naming convention for all the rest of the flags.
This commit is contained in:
parent
99e7ba24b1
commit
01a1365857
1 changed files with 4 additions and 4 deletions
|
|
@ -340,12 +340,12 @@ const usage_build_generic =
|
||||||
\\ -rpath [path] Add directory to the runtime library search path
|
\\ -rpath [path] Add directory to the runtime library search path
|
||||||
\\ -feach-lib-rpath Ensure adding rpath for each used dynamic library
|
\\ -feach-lib-rpath Ensure adding rpath for each used dynamic library
|
||||||
\\ -fno-each-lib-rpath Prevent adding rpath for each used dynamic library
|
\\ -fno-each-lib-rpath Prevent adding rpath for each used dynamic library
|
||||||
|
\\ -fallow-shlib-undefined Allows undefined symbols in shared libraries
|
||||||
|
\\ -fno-allow-shlib-undefined Disallows undefined symbols in shared libraries
|
||||||
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
|
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
|
||||||
\\ --emit-relocs Enable output of relocation sections for post build tools
|
\\ --emit-relocs Enable output of relocation sections for post build tools
|
||||||
\\ -dynamic Force output to be dynamically linked
|
\\ -dynamic Force output to be dynamically linked
|
||||||
\\ -static Force output to be statically linked
|
\\ -static Force output to be statically linked
|
||||||
\\ --allow-shlib-undefined Allows undefined symbols in shared libraries
|
|
||||||
\\ --no-allow-shlib-undefined Disallows undefined symbols in shared libraries
|
|
||||||
\\ -Bsymbolic Bind global references locally
|
\\ -Bsymbolic Bind global references locally
|
||||||
\\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker
|
\\ --subsystem [subsystem] (Windows) /SUBSYSTEM:<subsystem> to the linker
|
||||||
\\ --stack [size] Override default stack size
|
\\ --stack [size] Override default stack size
|
||||||
|
|
@ -975,9 +975,9 @@ fn buildOutputType(
|
||||||
link_eh_frame_hdr = true;
|
link_eh_frame_hdr = true;
|
||||||
} else if (mem.eql(u8, arg, "--emit-relocs")) {
|
} else if (mem.eql(u8, arg, "--emit-relocs")) {
|
||||||
link_emit_relocs = true;
|
link_emit_relocs = true;
|
||||||
} else if (mem.eql(u8, arg, "--allow-shlib-undefined")) {
|
} else if (mem.eql(u8, arg, "-fallow-shlib-undefined")) {
|
||||||
linker_allow_shlib_undefined = true;
|
linker_allow_shlib_undefined = true;
|
||||||
} else if (mem.eql(u8, arg, "--no-allow-shlib-undefined")) {
|
} else if (mem.eql(u8, arg, "-fno-allow-shlib-undefined")) {
|
||||||
linker_allow_shlib_undefined = false;
|
linker_allow_shlib_undefined = false;
|
||||||
} else if (mem.eql(u8, arg, "-Bsymbolic")) {
|
} else if (mem.eql(u8, arg, "-Bsymbolic")) {
|
||||||
linker_bind_global_refs_locally = true;
|
linker_bind_global_refs_locally = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue