diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-15 16:01:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:40 -0300 |
commit | 58f8b01276ed3cc692545855430dc43e4ebd3c31 (patch) | |
tree | 2af5b1f4f499cc3ab03c1898354eda2c953fece3 /Makeconfig | |
parent | 5e40fc59009c7247b974d161ba50da4c237b66a6 (diff) | |
download | glibc-58f8b01276ed3cc692545855430dc43e4ebd3c31.tar.gz glibc-58f8b01276ed3cc692545855430dc43e4ebd3c31.tar.xz glibc-58f8b01276ed3cc692545855430dc43e4ebd3c31.zip |
Use -frounding-math iff compiler supports it
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig index e583765712..b1459a27ed 100644 --- a/Makeconfig +++ b/Makeconfig @@ -872,7 +872,7 @@ endif # We have to assume that glibc functions are called in any rounding # mode and also change the rounding mode in a few functions. So, # disable any optimization that assume default rounding mode. -+math-flags = -frounding-math ++math-flags = $(config-cflags-frounding-math) # Logically only "libnldbl", "nonlib" and "testsuite" should be using # -fno-math-errno. However due to GCC bug #88576, only "libm" can use |