Merge pull request #63 from manjaro/stable-0.15.x

enable full RELRO and BIND_NOW
This commit is contained in:
Bernhard Landauer 2017-07-17 18:59:43 +02:00 committed by GitHub
commit 75b7e86b22
4 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
carch="i686"
chost="i686-pc-linux-gnu"
cflags="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong"
cflags="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"

View file

@ -1,3 +1,3 @@
carch="x86_64"
chost="x86_64-pc-linux-gnu"
cflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
cflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"

View file

@ -1,3 +1,3 @@
carch="x86_64"
chost="x86_64-pc-linux-gnu"
cflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
cflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"

View file

@ -39,7 +39,7 @@ CHOST="@CHOST@"
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="@CFLAGS@"
CXXFLAGS="@CFLAGS@"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags