From 4e27c0b44995ff75f83dd6ea5f26026aed40bc59 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Jun 2015 16:03:42 +0200 Subject: [PATCH] environment/configure: append to {C,LD}FLAGS, don't override them. --- 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 ff554eca55e..ba81f64c150 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+=" -I${XBPS_MASTERDIR}/usr/include" + LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib" fi