| author | |
| committer | |
| log | 22f51f2f7dfa7ca985648c414b25d5842d0c2732 |
| tree | 0d387dfccbc408fbf7c6d502c669db78ce05041a |
| parent | 1d6c804b29fed146aafda0f56cae7a4853b6abf9 |
| parent | 975cb9e9a9d4386b73c141459331a3f08904a46e |
| signature |
std.zig: handle -frandom-seed in NIX_CFLAGS_COMPILE1 files changed, 3 insertions(+), 1 deletions(-)
lib/std/zig/system.zig+3-1| ... | ... | @@ -54,8 +54,10 @@ pub const NativePaths = struct { |
| 54 | 54 | }; |
| 55 | 55 | try self.addIncludeDir(include_path); |
| 56 | 56 | } else { |
| 57 | if (mem.startsWith(u8, word, "-frandom-seed=")) { | |
| 58 | continue; | |
| 59 | } | |
| 57 | 60 | try self.addWarningFmt("Unrecognized C flag from NIX_CFLAGS_COMPILE: {s}", .{word}); |
| 58 | break; | |
| 59 | 61 | } |
| 60 | 62 | } |
| 61 | 63 | } else |err| switch (err) { |