aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc32
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-07 15:09:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-11-01 09:46:08 -0300
commit5c5a8b99cf96b71940e36a9db66d3a61bc315016 (patch)
tree7396885b3487d9383bf477219a79ebcf68b64d9f /sysdeps/powerpc/powerpc32
parent6ee5a9767a245455720d39eeaa3ce136825e8a42 (diff)
downloadglibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar
glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.gz
glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.bz2
glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.zip
Disable use of -fsignaling-nans if compiler does not support it
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc32')
-rw-r--r--sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
index 1de0f9b350..64317506c6 100644
--- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
+++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
@@ -37,6 +37,6 @@ CFLAGS-s_logbf-power7.c = -mcpu=power7
# These files quiet sNaNs in a way that is optimized away without
# -fsignaling-nans.
-CFLAGS-s_modf-ppc32.c += -fsignaling-nans
-CFLAGS-s_modff-ppc32.c += -fsignaling-nans
+CFLAGS-s_modf-ppc32.c += $(config-cflags-signaling-nans)
+CFLAGS-s_modff-ppc32.c += $(config-cflags-signaling-nans)
endif