aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-10 17:22:41 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 10:29:17 -0300
commitbe123324b425662215bb39e76fc0b32977bd78a1 (patch)
tree9e86e5411bd9edf3cc59fbf566ea0330dbd12d39 /sysdeps
parent5ff76fae87a9fe10ddaef224c3f19ad9e0dd7de8 (diff)
downloadglibc-be123324b425662215bb39e76fc0b32977bd78a1.tar
glibc-be123324b425662215bb39e76fc0b32977bd78a1.tar.gz
glibc-be123324b425662215bb39e76fc0b32977bd78a1.tar.bz2
glibc-be123324b425662215bb39e76fc0b32977bd78a1.zip
math: Use -fexcess-precision=standard iff compiler supports it
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86/fpu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86/fpu/Makefile b/sysdeps/x86/fpu/Makefile
index 600e42c3db..68bd42cdd3 100644
--- a/sysdeps/x86/fpu/Makefile
+++ b/sysdeps/x86/fpu/Makefile
@@ -8,7 +8,7 @@ tests += test-fenv-sse test-fenv-clear-sse test-fenv-x87 test-fenv-sse-2 \
CFLAGS-test-fenv-sse.c += -msse2 -mfpmath=sse
CFLAGS-test-fenv-clear-sse.c += -msse2 -mfpmath=sse
CFLAGS-test-fenv-sse-2.c += -msse2 -mfpmath=sse
-CFLAGS-test-flt-eval-method-387.c += -fexcess-precision=standard -mfpmath=387
-CFLAGS-test-flt-eval-method-sse.c += -fexcess-precision=standard -msse2 \
+CFLAGS-test-flt-eval-method-387.c += $(config-cflags-fexcess-precision-standard) -mfpmath=387
+CFLAGS-test-flt-eval-method-sse.c += $(config-cflags-fexcess-precision-standard) -msse2 \
-mfpmath=sse
endif