From: Michael Tremer Date: Sun, 28 Jan 2018 15:40:11 +0000 (+0000) Subject: CFLAGS: Remove --param=ssp-buffer-size=4 which has no effect with -fstack-protector... X-Git-Tag: 0.9.28~1291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bec6cb40ecd6e7a3439400d2380927406a60bae9;p=pakfire.git CFLAGS: Remove --param=ssp-buffer-size=4 which has no effect with -fstack-protector-strong Signed-off-by: Michael Tremer --- diff --git a/macros/cflags.macro b/macros/cflags.macro index 46dea1078..e6320eb9a 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -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