mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue