Blame SOURCES/2-add-strong-stack-prot.patch

1e3e47
--- configure.orig	2022-02-08 17:54:38.857757054 +0100
1e3e47
+++ configure	2022-02-08 18:09:34.392172703 +0100
1e3e47
@@ -142,15 +142,15 @@ includedir=${includedir:-$prefix/include
1e3e47
 mandir=${mandir:-$prefix/share/man}
1e3e47
1e3e47
 # define CFLAGS and LDFLAGS if no environment variables defined
1e3e47
-if test -z ${CFLAGS}; then
1e3e47
-  CFLAGS='-Wall -Werror -std=gnu99 -pedantic -fstack-protector -fPIE -fPIC -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv'
1e3e47
+if test -z "${CFLAGS}"; then
1e3e47
+  CFLAGS="-Wall -Werror -std=gnu99 -pedantic -fstack-protector-strong -fPIE -fPIC -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv"
1e3e47
 else
1e3e47
-  CFLAGS+=" -Wall -Werror -std=gnu99 -pedantic -fstack-protector -fPIE -fPIC"
1e3e47
+  CFLAGS+=" -Wall -Werror -std=gnu99 -pedantic -fstack-protector-strong -fPIE -fPIC"
1e3e47
 fi
1e3e47
-if test -z ${LDFLAGS}; then
1e3e47
-  LDFLAGS='-fstack-protector -fPIC -pie -z relro -z now -Wl,-z,noexecstack'
1e3e47
+if test -z "${LDFLAGS}"; then
1e3e47
+  LDFLAGS="-fstack-protector-strong -fPIC -pie -z relro -z now -Wl,-z,noexecstack"
1e3e47
 else
1e3e47
-  LDFLAGS+=" -fstack-protector -fPIC -pie -z relro -z now -Wl,-z,noexecstack"
1e3e47
+  LDFLAGS+=" -fstack-protector-strong -fPIC -pie -z relro -z now -Wl,-z,noexecstack"
1e3e47
 fi
1e3e47
1e3e47
 # try to build 32 or 64 bit system binary