From c852992c7eb07907091a35b2ef4cc87cf9651c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 24 Aug 2024 05:14:55 +0200 Subject: [PATCH] glibc: Also pass `-Wno-unsupported-floating-point-opt` when building libc_nonshared.a. Apparently 3fb6e46f6e4231b9569193a15a4357a2ae11fb0f wasn't enough. --- src/glibc.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glibc.zig b/src/glibc.zig index ee1b208cdd..e34e12119e 100644 --- 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",