Commit e1436873a3

Andrew Kelley <andrew@ziglang.org>
2021-12-16 08:45:45
glibc: don't pass -frounding-math
glibc wants this flag but clang (our C compiler) does not support it.
1 parent 37fa6f9
Changed files (1)
src/glibc.zig
@@ -317,7 +317,8 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile) !void {
                     "-std=gnu11",
                     "-fgnu89-inline",
                     "-fmerge-all-constants",
-                    "-frounding-math",
+                    // glibc sets this flag but clang does not support it.
+                    // "-frounding-math",
                     "-fno-stack-protector",
                     "-fno-common",
                     "-fmath-errno",