From f407778e83b46787b6337a8015d93f3d66334907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 2 Aug 2024 08:20:53 +0200 Subject: [PATCH] glibc: Set -frounding-math like upstream. ~Same thing as b03a04c7fca587af0f1caf59881def3c91596728. --- src/glibc.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/glibc.zig b/src/glibc.zig index f61c8e5757..2b4b3402d6 100644 --- a/src/glibc.zig +++ b/src/glibc.zig @@ -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",