mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
Merge pull request #8667 from sagehane/nixos
std.zig: handle -frandom-seed in NIX_CFLAGS_COMPILE
This commit is contained in:
commit
22f51f2f7d
@ -54,8 +54,10 @@ pub const NativePaths = struct {
|
||||
};
|
||||
try self.addIncludeDir(include_path);
|
||||
} else {
|
||||
if (mem.startsWith(u8, word, "-frandom-seed=")) {
|
||||
continue;
|
||||
}
|
||||
try self.addWarningFmt("Unrecognized C flag from NIX_CFLAGS_COMPILE: {s}", .{word});
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else |err| switch (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user