environment/configure/build-pie.sh: enable hardening in CXXFLAGS too.

This commit is contained in:
Christian Neukirchen 2015-08-13 13:50:23 +02:00
parent b9f00f0018
commit 56d1da3a3f

View File

@ -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