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"
|
carch="i686"
|
||||||
chost="i686-pc-linux-gnu"
|
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"
|
carch="x86_64"
|
||||||
chost="x86_64-pc-linux-gnu"
|
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"
|
carch="x86_64"
|
||||||
chost="x86_64-pc-linux-gnu"
|
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"
|
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||||
CFLAGS="@CFLAGS@"
|
CFLAGS="@CFLAGS@"
|
||||||
CXXFLAGS="@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
|
#-- Make Flags: change this for DistCC/SMP systems
|
||||||
#MAKEFLAGS="-j2"
|
#MAKEFLAGS="-j2"
|
||||||
#-- Debugging flags
|
#-- Debugging flags
|
||||||
|
|
Loading…
Reference in a new issue