authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-24 05:14:55+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-09-05 06:16:25+02:00
logc852992c7eb07907091a35b2ef4cc87cf9651c6e
tree18fcfa4a4156fb2aea72460071d901f37805c7b8
parentf87dd43c1285d38d7a0f3092f6487bf1e1f4faa6
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

glibc: Also pass `-Wno-unsupported-floating-point-opt` when building libc_nonshared.a.

Apparently 3fb6e46f6e4231b9569193a15a4357a2ae11fb0f wasn't enough.

1 files changed, 1 insertions(+), 0 deletions(-)

src/glibc.zig+1
...@@ -369,6 +369,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre...@@ -369,6 +369,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
369 "-fgnu89-inline",369 "-fgnu89-inline",
370 "-fmerge-all-constants",370 "-fmerge-all-constants",
371 "-frounding-math",371 "-frounding-math",
372 "-Wno-unsupported-floating-point-opt", // For targets that don't support -frounding-math.
372 "-fno-stack-protector",373 "-fno-stack-protector",
373 "-fno-common",374 "-fno-common",
374 "-fmath-errno",375 "-fmath-errno",