diff options
author | Allan McRae <allan@archlinux.org> | 2014-05-04 12:59:08 +1000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-04 07:39:54 +0200 |
commit | 9f7ba3d40791ca81ebd47e3278f02d4a61e38179 (patch) | |
tree | 7669f8004d0096eb556539828500ee11d8b4d456 | |
parent | 40ea1b3ca5c6f6fdbeda230f4048ac7934d68acf (diff) | |
download | devtools32-9f7ba3d40791ca81ebd47e3278f02d4a61e38179.tar.xz |
Use -fstack-protector-strong
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r-- | makepkg-i686.conf | 4 | ||||
-rw-r--r-- | makepkg-x86_64.conf | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/makepkg-i686.conf b/makepkg-i686.conf index fcb131f..da249f6 100644 --- a/makepkg-i686.conf +++ b/makepkg-i686.conf @@ -30,8 +30,8 @@ CHOST="i686-pc-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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" -CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" +CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" +CXXFLAGS="-march=i686 -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" 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" |