]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: CFLAGS remove --param=ssp-buffer-size=4
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Feb 2018 13:09:00 +0000 (13:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Feb 2018 20:56:12 +0000 (20:56 +0000)
This flag is useless with -fstack-protector-strong

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 4e690b7f99fa5089299b20f92582ea43571d57e5..55c55457e51a3d5c0e876afb2b2e730551a0750d 100755 (executable)
--- 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}"