Merge pull request #8667 from sagehane/nixos
std.zig: handle -frandom-seed in NIX_CFLAGS_COMPILE
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user