You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memkind/SOURCES/configure.ac.patch

14 lines
421 B

diff --git a/configure.ac b/configure.ac
index 0659008..43f79d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,7 +136,7 @@ fi
[enable_secure="1"]
)
if test "x$enable_secure" = "x1" ; then
- CFLAGS="$CFLAGS -fstack-protector"
+ CFLAGS="$CFLAGS -fstack-protector-strong -fstack-clash-protection"
LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"
if test "$CFLAGS" != "${CFLAGS%-O0*}" ; then # if CFLAGS contains -O0