mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.zig: handle -frandom-seed in NIX_CFLAGS_COMPILE
This commit is contained in:
parent
e9e91b4ed0
commit
6490e57136
@ -46,6 +46,9 @@ pub const NativePaths = struct {
|
||||
var it = mem.tokenize(nix_cflags_compile, " ");
|
||||
while (true) {
|
||||
const word = it.next() orelse break;
|
||||
if (mem.startsWith(u8, word, "-frandom-seed=")) {
|
||||
continue;
|
||||
}
|
||||
if (mem.eql(u8, word, "-isystem")) {
|
||||
const include_path = it.next() orelse {
|
||||
try self.addWarning("Expected argument after -isystem in NIX_CFLAGS_COMPILE");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user