diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-13 17:01:15 +0100 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-08-27 17:26:08 -0700 |
commit | f1d716a048146099600d8fadb9d83a31c018dd6f (patch) | |
tree | 5dac207f8c85cc7694fc59c99d92c5821fc3b477 /sysdeps/ieee754 | |
parent | 8c5a6bf8130c9e94d015eb6005ad19a16c1f6f0a (diff) | |
download | glibc-f1d716a048146099600d8fadb9d83a31c018dd6f.zip glibc-f1d716a048146099600d8fadb9d83a31c018dd6f.tar.gz glibc-f1d716a048146099600d8fadb9d83a31c018dd6f.tar.bz2 |
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')
-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 99c596e..daa2753 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 |