diff options
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -76,7 +76,8 @@ # common compilation flags %_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2 -%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags:%_fortify_cflags} -fexceptions +%_ssp_cflags -fstack-protector --param=ssp-buffer-size=4 +%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags:%_fortify_cflags} %{?_ssp_cflags:%_ssp_cflags} -fexceptions #============================================================================== # ---- Optional rpmrc macros. @@ -434,7 +435,7 @@ then %{_scrollkeeper_bin} -q || true ; fi \ # # Servers opt flags -%serverbuild export CFLAGS="%optflags -fno-omit-frame-pointer -fstack-protector"; export CXXFLAGS="%optflags -fno-omit-frame-pointer -fstack-protector"; export RPM_OPT_FLAGS="%optflags -fno-omit-frame-pointer -fstack-protector" \ +%serverbuild export CFLAGS="%optflags -fstack-protector-all"; export CXXFLAGS="%optflags -fstack-protector-all"; export RPM_OPT_FLAGS="%optflags -fstack-protector-all" \ %{nil} %__libtoolize_configure %{?__libtoolize:(cd $CONFIGURE_TOP; [ -f configure.in -o -f configure.ac ] && %{__libtoolize} --copy --force)} |