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