commit c852992c7eb07907091a35b2ef4cc87cf9651c6e (tree)
parent f87dd43c1285d38d7a0f3092f6487bf1e1f4faa6
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sat, 24 Aug 2024 05:14:55 +0200
glibc: Also pass `-Wno-unsupported-floating-point-opt` when building libc_nonshared.a.
Apparently 3fb6e46f6e4231b9569193a15a4357a2ae11fb0f wasn't enough.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/glibc.zig b/src/glibc.zig
@@ -369,6 +369,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
"-fgnu89-inline",
"-fmerge-all-constants",
"-frounding-math",
+ "-Wno-unsupported-floating-point-opt", // For targets that don't support -frounding-math.
"-fno-stack-protector",
"-fno-common",
"-fmath-errno",