dfa500
commit c10acd40262486dac597001aecc20ad9d3bd0e4a
dfa500
Author: Florian Weimer <fweimer@redhat.com>
dfa500
Date:   Thu Feb 13 17:01:15 2020 +0100
dfa500
dfa500
    math/test-sinl-pseudo: Use stack protector only if available
dfa500
    
dfa500
    This fixes commit 9333498794cde1d5cca518bad ("Avoid ldbl-96 stack
dfa500
    corruption from range reduction of pseudo-zero (bug 25487).").
dfa500
dfa500
diff --git a/sysdeps/ieee754/ldbl-96/Makefile b/sysdeps/ieee754/ldbl-96/Makefile
dfa500
index 318628aed6..6030adf7e7 100644
dfa500
--- a/sysdeps/ieee754/ldbl-96/Makefile
dfa500
+++ b/sysdeps/ieee754/ldbl-96/Makefile
dfa500
@@ -18,5 +18,7 @@
dfa500
 
dfa500
 ifeq ($(subdir),math)
dfa500
 tests += test-canonical-ldbl-96 test-totalorderl-ldbl-96 test-sinl-pseudo
dfa500
+ifeq ($(have-ssp),yes)
dfa500
 CFLAGS-test-sinl-pseudo.c += -fstack-protector-all
dfa500
 endif
dfa500
+endif # $(subdir) == math