mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 13:33:21 +00:00
glibc: don't pass -frounding-math
glibc wants this flag but clang (our C compiler) does not support it.
This commit is contained in:
parent
37fa6f955d
commit
e1436873a3
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user