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:
Alex Rønne Petersen 2024-08-18 02:47:28 +02:00 committed by Andrew Kelley
parent 945fc7064b
commit 3fb6e46f6e

View File

@ -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);