Commit 3fb6e46f6e

Alex Rønne Petersen <alex@alexrp.com>
2024-08-18 02:47:28
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.
1 parent 945fc70
Changed files (1)
src/glibc.zig
@@ -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);