summaryrefslogtreecommitdiff
path: root/makepkg-x86_64.conf
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-05-04 12:59:08 +1000
committerPierre Schmitz <pierre@archlinux.de>2014-05-04 07:39:54 +0200
commit9f7ba3d40791ca81ebd47e3278f02d4a61e38179 (patch)
tree7669f8004d0096eb556539828500ee11d8b4d456 /makepkg-x86_64.conf
parent40ea1b3ca5c6f6fdbeda230f4048ac7934d68acf (diff)
Use -fstack-protector-strong
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'makepkg-x86_64.conf')
-rw-r--r--makepkg-x86_64.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/makepkg-x86_64.conf b/makepkg-x86_64.conf
index 330c242..33dbe99 100644
--- a/makepkg-x86_64.conf
+++ b/makepkg-x86_64.conf
@@ -30,8 +30,8 @@ CHOST="x86_64-unknown-linux-gnu"
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
-CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
-CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
+CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
+CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"