aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2007-06-19 13:14:54 +0000
committerAndreas Hasenack <andreas@mandriva.com>2007-06-19 13:14:54 +0000
commit5a4cc24b081289368421861b73eb5aa83a47e659 (patch)
tree59ffc50158de83a721a4152cbe667e669a0c7394 /macros.in
parent60a95f72ef2ba775554df7b85561ac9ac8726e3b (diff)
downloadrpm-setup-5a4cc24b081289368421861b73eb5aa83a47e659.tar
rpm-setup-5a4cc24b081289368421861b73eb5aa83a47e659.tar.gz
rpm-setup-5a4cc24b081289368421861b73eb5aa83a47e659.tar.bz2
rpm-setup-5a4cc24b081289368421861b73eb5aa83a47e659.tar.xz
rpm-setup-5a4cc24b081289368421861b73eb5aa83a47e659.zip
- added -fstack-protector to %serverbuild macro
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 2b79930..3d1a02d 100644
--- a/macros.in
+++ b/macros.in
@@ -434,7 +434,7 @@ then %{_scrollkeeper_bin} -q || true ; fi \
#
# Servers opt flags
-%serverbuild export CFLAGS="%optflags -fno-omit-frame-pointer"; export CXXFLAGS="%optflags -fno-omit-frame-pointer"; export RPM_OPT_FLAGS="%optflags -fno-omit-frame-pointer" \
+%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" \
%{nil}
%__libtoolize_configure %{?__libtoolize:(cd $CONFIGURE_TOP; [ -f configure.in -o -f configure.ac ] && %{__libtoolize} --copy --force)}