aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/std/build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig
index fa7fb9f018..fce3a0bceb 100644
--- a/lib/std/build.zig
+++ b/lib/std/build.zig
@@ -2341,7 +2341,7 @@ pub const LibExeObjStep = struct {
try zig_args.append("-ffunction-sections");
}
if (self.linker_allow_shlib_undefined) |x| {
- try zig_args.append(if (x) "--allow-shlib-undefined" else "--no-allow-shlib-undefined");
+ try zig_args.append(if (x) "-fallow-shlib-undefined" else "-fno-allow-shlib-undefined");
}
if (self.single_threaded) {
try zig_args.append("--single-threaded");