forked from mirrored-repos/manjaro-tools
enable full RELRO and BIND_NOW
This commit is contained in:
parent
afbae5e9ff
commit
b8255e9e17
4 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue