Commit f407778e83

Alex Rønne Petersen <alex@alexrp.com>
2024-08-02 08:20:53
glibc: Set -frounding-math like upstream.
~Same thing as b03a04c7fca587af0f1caf59881def3c91596728.
1 parent 923f114
Changed files (1)
src/glibc.zig
@@ -374,8 +374,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
                     "-std=gnu11",
                     "-fgnu89-inline",
                     "-fmerge-all-constants",
-                    // glibc sets this flag but clang does not support it.
-                    // "-frounding-math",
+                    "-frounding-math",
                     "-fno-stack-protector",
                     "-fno-common",
                     "-fmath-errno",