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