| ... | ... | @@ -46,9 +46,6 @@ pub const NativePaths = struct { |
| 46 | 46 | var it = mem.tokenize(nix_cflags_compile, " "); |
| 47 | 47 | while (true) { |
| 48 | 48 | const word = it.next() orelse break; |
| 49 | | if (mem.startsWith(u8, word, "-frandom-seed=")) { |
| 50 | | continue; |
| 51 | | } |
| 52 | 49 | if (mem.eql(u8, word, "-isystem")) { |
| 53 | 50 | const include_path = it.next() orelse { |
| 54 | 51 | try self.addWarning("Expected argument after -isystem in NIX_CFLAGS_COMPILE"); |
| ... | ... | @@ -56,8 +53,10 @@ pub const NativePaths = struct { |
| 56 | 53 | }; |
| 57 | 54 | try self.addIncludeDir(include_path); |
| 58 | 55 | } else { |
| 56 | if (mem.startsWith(u8, word, "-frandom-seed=")) { |
| 57 | continue; |
| 58 | } |
| 59 | 59 | try self.addWarningFmt("Unrecognized C flag from NIX_CFLAGS_COMPILE: {s}", .{word}); |
| 60 | | break; |
| 61 | 60 | } |
| 62 | 61 | } |
| 63 | 62 | } else |err| switch (err) { |