From: Michael Tremer Date: Sat, 10 Feb 2018 13:09:00 +0000 (+0000) Subject: make.sh: CFLAGS remove --param=ssp-buffer-size=4 X-Git-Tag: v2.19-core120~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a9c12104cf52a3b8e5f562b9d47c96bf1740581;p=people%2Fpmueller%2Fipfire-2.x.git make.sh: CFLAGS remove --param=ssp-buffer-size=4 This flag is useless with -fstack-protector-strong Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 4e690b7f99..55c55457e5 100755 --- a/make.sh +++ b/make.sh @@ -195,7 +195,7 @@ configure_build() { TOOLS_DIR="/tools_${BUILD_ARCH}" # Enables hardening - HARDENING_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4" + HARDENING_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong" CFLAGS="-O2 -pipe -Wall -fexceptions -fPIC ${CFLAGS_ARCH}" CXXFLAGS="${CFLAGS}"