summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2014-10-21 16:19:47 +0200
committerBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2014-10-21 16:19:47 +0200
commit347234db90ccd28fc0bca5ebd5c0cb9f8a1591f7 (patch)
tree234ca32fba9955db1950ebefde5f371da01879c7 /support-files
parent86221c15f3fa52800445222fe928f739df5ec37a (diff)
downloadmariadb-git-347234db90ccd28fc0bca5ebd5c0cb9f8a1591f7.tar.gz
Fix changelog entries build failure
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index ee95e65780b..8548be8ca4c 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -499,12 +499,14 @@ mkdir debug
# Attempt to remove any optimisation flags from the debug build
CFLAGS=`echo " ${CFLAGS} " | \
sed -e 's/ -O[0-9]* / /' \
+ -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /' \
-e 's/ -unroll2 / /' \
-e 's/ -ip / /' \
-e 's/^ //' \
-e 's/ $//'`
CXXFLAGS=`echo " ${CXXFLAGS} " | \
sed -e 's/ -O[0-9]* / /' \
+ -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /' \
-e 's/ -unroll2 / /' \
-e 's/ -ip / /' \
-e 's/^ //' \