diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-24 13:12:43 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:40 -0300 |
commit | 0062fcb8bab9fcaddf129bedb0c4f06b1670ad34 (patch) | |
tree | ed7be760255e979b9b1aca21718d11fb1e12bb5b /math | |
parent | 9193695399a8e6cf79a9825a7ef480f21e080583 (diff) | |
download | glibc-0062fcb8bab9fcaddf129bedb0c4f06b1670ad34.tar.gz glibc-0062fcb8bab9fcaddf129bedb0c4f06b1670ad34.tar.xz glibc-0062fcb8bab9fcaddf129bedb0c4f06b1670ad34.zip |
Use -ffloat-store iff compiler supports it
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/Makefile b/math/Makefile index 192c4fb820..da5d041d6c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -936,7 +936,7 @@ $(objpfx)test-tgmath3-macro-list.out: gen-tgmath-tests.py libm-test-fast-math-cflags = -fno-builtin -D__FAST_MATH__ -DTEST_FAST_MATH libm-test-vec-cflags = $(libm-test-fast-math-cflags) -fno-inline \ - -ffloat-store -D_OPENMP=201307 -Wno-unknown-pragmas + $(libc_cv_cc_float_store) -D_OPENMP=201307 -Wno-unknown-pragmas CFLAGS-test-double-vlen4-wrappers.c += $(double-vlen4-arch-ext-cflags) @@ -952,7 +952,7 @@ CFLAGS-test-float-vlen16-wrappers.c += $(float-vlen16-arch-ext-cflags) # raise spurious exceptions for sNaNs, but also do not test for # exceptions. Thus both versions of the classification macros are # validated. -libm-test-no-inline-cflags = -fno-inline -ffloat-store -fno-builtin \ +libm-test-no-inline-cflags = -fno-inline $(libc_cv_cc_float_store) -fno-builtin \ $(config-cflags-signaling-nans) CFLAGS-test-tgmath.c += -fno-builtin # The following testcase uses very long lines (>3 million), so it may take a |