summaryrefslogtreecommitdiff
path: root/makepkg-x86_64.conf
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-08-14 14:12:34 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-08-14 14:12:34 +0200
commit19f3a868f4c3074aca17a2a46985b4c00ca56490 (patch)
treef8a5faf1d76417b8ed3e2cdd6ad2934d12d7f51d /makepkg-x86_64.conf
parentf1ee5208ed48d63b57fd34d64913d87437a43375 (diff)
downloaddevtools32-19f3a868f4c3074aca17a2a46985b4c00ca56490.tar.xz
update makepkg.conf from pacman 3.5.4-4
Diffstat (limited to 'makepkg-x86_64.conf')
-rw-r--r--makepkg-x86_64.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/makepkg-x86_64.conf b/makepkg-x86_64.conf
index 005cafb..052cf3f 100644
--- a/makepkg-x86_64.conf
+++ b/makepkg-x86_64.conf
@@ -29,9 +29,9 @@ CHOST="x86_64-unknown-linux-gnu"
#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
-CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
-CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
-LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
+CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"