]> git.ipfire.org Git - pakfire.git/commitdiff
CFLAGS: Remove --param=ssp-buffer-size=4 which has no effect with -fstack-protector...
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Jan 2018 15:40:11 +0000 (15:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Jan 2018 15:40:11 +0000 (15:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/cflags.macro

index 46dea107804b2a2ec56cc2ed9071d5127b1d81c7..e6320eb9aac159f122963aa69fd34531edc8d4a0 100644 (file)
@@ -1,8 +1,7 @@
 
 # Export CFLAGS + CXXFLAGS
 GLOBAL_CFLAGS   = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Werror=format-security
-GLOBAL_CFLAGS  += -fexceptions -fPIC -fstack-protector-strong --param=ssp-buffer-size=4
-GLOBAL_CFLAGS  += -grecord-gcc-switches
+GLOBAL_CFLAGS  += -fexceptions -fPIC -fstack-protector-strong -grecord-gcc-switches
 
 CFLAGS_i686     = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
 CFLAGS_x86_64   = -m64 -mtune=generic