aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-07 17:34:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-07 17:34:01 +0000
commit4e85fa5fcca3b13ad0103faaffd50213203779d8 (patch)
treea4a75f3e8d6d14b91c34c1d2e354918d6fb3512c /macros.in
parentaf8b21008aaf5e9b9b38eb98c6cc5c5c3f7a0dc4 (diff)
downloadrpm-setup-4e85fa5fcca3b13ad0103faaffd50213203779d8.tar
rpm-setup-4e85fa5fcca3b13ad0103faaffd50213203779d8.tar.gz
rpm-setup-4e85fa5fcca3b13ad0103faaffd50213203779d8.tar.bz2
rpm-setup-4e85fa5fcca3b13ad0103faaffd50213203779d8.tar.xz
rpm-setup-4e85fa5fcca3b13ad0103faaffd50213203779d8.zip
1.68: do not use ssp_flags on archs which do not handle it (thanks to rtp)1.68
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index b537db5..a8d91d3 100644
--- a/macros.in
+++ b/macros.in
@@ -86,7 +86,8 @@ Group: %{group}\
%_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2
%_serverbuild_flags %nil
%_ssp_cflags -fstack-protector --param=ssp-buffer-size=4 %{?_serverbuild_flags}
-%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags} %{?_ssp_cflags} -fexceptions
+%__common_cflags -O2 %{debugcflags} -pipe %{?_fortify_cflags} -fexceptions
+%__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags}
#==============================================================================
# ---- Optional rpmrc macros.