vp-build/common/environment/configure/build-pie.sh

7 lines
187 B
Bash
Raw Normal View History

_GCCSPECSDIR=${XBPS_COMMONDIR}/environment/configure/gccspecs
if [ -n "$build_pie" ]; then
CFLAGS+=" -specs=$_GCCSPECSDIR/hardened-cc1"
LDFLAGS+=" -specs=$_GCCSPECSDIR/hardened-ld"
fi