defaults.conf: move -z now to hardened-ld only.
This commit is contained in:
parent
4d99da275f
commit
cd01759127
|
@ -2,4 +2,4 @@
|
|||
+ %{static|Bstatic|shared|Bshareable|i|r|pie|nopie:;:-pie}
|
||||
|
||||
*link:
|
||||
+ %{!static:-z relro}
|
||||
+ %{!static:-z relro -z now}
|
||||
|
|
|
@ -33,7 +33,7 @@ XBPS_CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
|||
# avoid linking extra libraries into binaries. See the following link
|
||||
# for info: http://www.gentoo.org/proj/en/qa/asneeded.xml
|
||||
#
|
||||
XBPS_LDFLAGS="-Wl,--as-needed -Wl,-z,relro,-z,now"
|
||||
XBPS_LDFLAGS="-Wl,--as-needed -Wl,-z,relro"
|
||||
|
||||
# [REQUIRED]
|
||||
# Command to execute to gain root privileges when using the `update-sys`
|
||||
|
|
Loading…
Reference in New Issue