authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 08:20:53+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 09:54:08+02:00
logf407778e83b46787b6337a8015d93f3d66334907
tree0ed303c2cd37c7fca540cd2b28889ce5f084c1e3
parent923f114bdb4e1808d7f6f424a292c9775ada6f25
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

glibc: Set -frounding-math like upstream.

~Same thing as b03a04c7fca587af0f1caf59881def3c91596728.

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

src/glibc.zig+1-2
......@@ -374,8 +374,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
374374 "-std=gnu11",
375375 "-fgnu89-inline",
376376 "-fmerge-all-constants",
377 // glibc sets this flag but clang does not support it.
378 // "-frounding-math",
377 "-frounding-math",
379378 "-fno-stack-protector",
380379 "-fno-common",
381380 "-fmath-errno",