environment/configure/bootstrap.sh: use -isystem and -rpath-link during bootstrap.

This commit is contained in:
Christian Neukirchen 2015-06-05 09:05:20 +00:00
parent 10ee1130f8
commit d2600d1411

View file

@ -1,4 +1,4 @@
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -I${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
CFLAGS+=" -isystem ${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib -Wl,-rpath-link=${XBPS_MASTERDIR}/usr/lib"
fi