environment/configure: append to {C,LD}FLAGS, don't override them.

This commit is contained in:
Juan RP 2015-06-04 16:03:42 +02:00
parent 14e40a77e3
commit 4e27c0b449
1 changed files with 2 additions and 2 deletions

View File

@ -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