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 /benchtests | |
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 'benchtests')
-rw-r--r-- | benchtests/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile index fc1cda7fc3..292976b26b 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -268,9 +268,9 @@ CFLAGS-bench-trunc.c += -fno-builtin CFLAGS-bench-truncf.c += -fno-builtin CFLAGS-bench-roundeven.c += -fno-builtin CFLAGS-bench-roundevenf.c += -fno-builtin -CFLAGS-bench-isnan.c += -fsignaling-nans -CFLAGS-bench-isinf.c += -fsignaling-nans -CFLAGS-bench-isfinite.c += -fsignaling-nans +CFLAGS-bench-isnan.c += $(config-cflags-signaling-nans) +CFLAGS-bench-isinf.c += $(config-cflags-signaling-nans) +CFLAGS-bench-isfinite.c += $(config-cflags-signaling-nans) ifeq (${BENCHSET},) bench-malloc := malloc-thread malloc-simple |