diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-13 17:01:15 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-13 17:01:15 +0100 |
commit | c10acd40262486dac597001aecc20ad9d3bd0e4a (patch) | |
tree | eca70b4ae7dc29bebe31091280a0a051fcf372d7 /sysdeps/ieee754/ldbl-96 | |
parent | d3436a7f3240b8a657d35e417515d4e18fc9e396 (diff) | |
download | glibc-c10acd40262486dac597001aecc20ad9d3bd0e4a.tar.gz glibc-c10acd40262486dac597001aecc20ad9d3bd0e4a.tar.xz glibc-c10acd40262486dac597001aecc20ad9d3bd0e4a.zip |
math/test-sinl-pseudo: Use stack protector only if available
This fixes commit 9333498794cde1d5cca518bad ("Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487).").
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-96/Makefile b/sysdeps/ieee754/ldbl-96/Makefile index 318628aed6..6030adf7e7 100644 --- a/sysdeps/ieee754/ldbl-96/Makefile +++ b/sysdeps/ieee754/ldbl-96/Makefile @@ -18,5 +18,7 @@ ifeq ($(subdir),math) tests += test-canonical-ldbl-96 test-totalorderl-ldbl-96 test-sinl-pseudo +ifeq ($(have-ssp),yes) CFLAGS-test-sinl-pseudo.c += -fstack-protector-all endif +endif # $(subdir) == math |