authorgravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2021-04-17 14:05:13+02:00
committergravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2021-04-17 15:17:54+02:00
log8e6865c8eeff477375113f3c56f378d0e40ffecd
tree234846ca9ba2d2a13c06d65abd817bbf7044b8e8
parent9f6b56ab4ba263f751927d0eee6a87064d65c049

std/build: fix linker_allow_shlib_undefined

The relevant flags were renamed in 01a1365 but updating std.build was overlooked.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/build.zig+1-1
...@@ -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");