diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-07 15:09:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-11-01 09:46:08 -0300 |
commit | 5c5a8b99cf96b71940e36a9db66d3a61bc315016 (patch) | |
tree | 7396885b3487d9383bf477219a79ebcf68b64d9f /sysdeps/powerpc/nofpu/Makefile | |
parent | 6ee5a9767a245455720d39eeaa3ce136825e8a42 (diff) | |
download | glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.gz glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.xz 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/nofpu/Makefile')
-rw-r--r-- | sysdeps/powerpc/nofpu/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sysdeps/powerpc/nofpu/Makefile b/sysdeps/powerpc/nofpu/Makefile index 3b51ff6d18..fa462339ba 100644 --- a/sysdeps/powerpc/nofpu/Makefile +++ b/sysdeps/powerpc/nofpu/Makefile @@ -27,18 +27,18 @@ CPPFLAGS += -I../soft-fp/ CFLAGS-e_atan2l.c += -fno-builtin-fabsl CFLAGS-e_hypotl.c += -fno-builtin-fabsl CFLAGS-e_powl.c += -fno-builtin-fabsl -CFLAGS-s_cacosl.c += -fsignaling-nans -CFLAGS-s_cacoshl.c += -fsignaling-nans -CFLAGS-s_casinhl.c += -fsignaling-nans -CFLAGS-s_catanl.c += -fsignaling-nans -CFLAGS-s_catanhl.c += -fsignaling-nans -CFLAGS-s_ccoshl.c += -fno-builtin-fabsl -fsignaling-nans -CFLAGS-s_cexpl.c += -fsignaling-nans -CFLAGS-s_csinhl.c += -fno-builtin-fabsl -fsignaling-nans -CFLAGS-s_clogl.c += -fno-builtin-fabsl -fsignaling-nans -CFLAGS-s_clog10l.c += -fno-builtin-fabsl -fsignaling-nans -CFLAGS-s_csinl.c += -fno-builtin-fabsl -fsignaling-nans -CFLAGS-s_csqrtl.c += -fno-builtin-fabsl -fsignaling-nans +CFLAGS-s_cacosl.c += $(config-cflags-signaling-nans) +CFLAGS-s_cacoshl.c += $(config-cflags-signaling-nans) +CFLAGS-s_casinhl.c += $(config-cflags-signaling-nans) +CFLAGS-s_catanl.c += $(config-cflags-signaling-nans) +CFLAGS-s_catanhl.c += $(config-cflags-signaling-nans) +CFLAGS-s_ccoshl.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) +CFLAGS-s_cexpl.c += $(config-cflags-signaling-nans) +CFLAGS-s_csinhl.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) +CFLAGS-s_clogl.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) +CFLAGS-s_clog10l.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) +CFLAGS-s_csinl.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) +CFLAGS-s_csqrtl.c += -fno-builtin-fabsl $(config-cflags-signaling-nans) CFLAGS-w_acosl_compat.c += -fno-builtin-fabsl CFLAGS-w_asinl_compat.c += -fno-builtin-fabsl CFLAGS-w_atanhl_compat.c += -fno-builtin-fabsl |