From d2600d14115f6c852bf15e02851942ac218912cb Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 5 Jun 2015 09:05:20 +0000 Subject: [PATCH] environment/configure/bootstrap.sh: use -isystem and -rpath-link during bootstrap. --- common/environment/configure/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/environment/configure/bootstrap.sh b/common/environment/configure/bootstrap.sh index ba81f64c15..f5ba5f442c 100644 --- a/common/environment/configure/bootstrap.sh +++ b/common/environment/configure/bootstrap.sh @@ -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