mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
glibc: Set -frounding-math like upstream.
~Same thing as b03a04c7fca587af0f1caf59881def3c91596728.
This commit is contained in:
parent
923f114bdb
commit
f407778e83
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user