mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
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
|
if [ -n "$build_pie" ]; then
|
||||||
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||||
|
CXXFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
|
||||||
LDFLAGS+=" -specs=$_GCCSPECSDIR/hardened-ld"
|
LDFLAGS+=" -specs=$_GCCSPECSDIR/hardened-ld"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue