| ... | @@ -2341,7 +2341,7 @@ pub const LibExeObjStep = struct { | ... | @@ -2341,7 +2341,7 @@ pub const LibExeObjStep = struct { |
| 2341 | try zig_args.append("-ffunction-sections"); | 2341 | try zig_args.append("-ffunction-sections"); |
| 2342 | } | 2342 | } |
| 2343 | if (self.linker_allow_shlib_undefined) |x| { | 2343 | if (self.linker_allow_shlib_undefined) |x| { |
| 2344 | try zig_args.append(if (x) "--allow-shlib-undefined" else "--no-allow-shlib-undefined"); | 2344 | try zig_args.append(if (x) "-fallow-shlib-undefined" else "-fno-allow-shlib-undefined"); |
| 2345 | } | 2345 | } |
| 2346 | if (self.single_threaded) { | 2346 | if (self.single_threaded) { |
| 2347 | try zig_args.append("--single-threaded"); | 2347 | try zig_args.append("--single-threaded"); |