environment/configure/build-pie.sh: enable hardening in CXXFLAGS too.
This commit is contained in:
parent
b9f00f0018
commit
56d1da3a3f
1 changed files with 1 additions and 0 deletions
|
@ -2,5 +2,6 @@ _GCCSPECSDIR=${XBPS_COMMONDIR}/environment/configure/gccspecs
|
|||
|
||||
if [ -n "$build_pie" ]; then
|
||||
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||
CXXFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||
LDFLAGS+=" -specs=$_GCCSPECSDIR/hardened-ld"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue