glibc: Set -frounding-math like upstream.

~Same thing as b03a04c7fca587af0f1caf59881def3c91596728.
This commit is contained in:
Alex Rønne Petersen 2024-08-02 08:20:53 +02:00
parent 923f114bdb
commit f407778e83
No known key found for this signature in database

View File

@ -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",