mirror of git://sourceware.org/git/glibc.git
math/test-sinl-pseudo: Use stack protector only if available
This fixes commit9333498794
("Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487)."). (cherry picked from commitc10acd4026
)
This commit is contained in:
parent
e85a88e00c
commit
03f44ce093
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue