mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 06:40:25 +00:00
glibc: Pass -Qunused-arguments when building libc_nonshared.a.
For some platforms, the math-related flags are ignored and produce warnings. There's nothing we can do about that, so just silence them.
This commit is contained in:
parent
945fc7064b
commit
3fb6e46f6e
@ -369,6 +369,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
|
||||
"-fmath-errno",
|
||||
"-ftls-model=initial-exec",
|
||||
"-Wno-ignored-attributes",
|
||||
"-Qunused-arguments",
|
||||
});
|
||||
try add_include_dirs(comp, arena, &args);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user