glibc: don't pass -frounding-math

glibc wants this flag but clang (our C compiler) does not support it.
This commit is contained in:
Andrew Kelley 2021-12-16 00:45:45 -07:00
parent 37fa6f955d
commit e1436873a3

View File

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