xbps-src: also use build-profiles for bootstrap pkgs.

This commit is contained in:
Juan RP 2014-11-10 11:25:36 +01:00
parent f83e8b8ef0
commit 88c76fb588

View file

@ -331,7 +331,7 @@ setup_pkg() {
dbgflags="-g"
fi
if [ -z "$XBPS_CFLAGS" -a -z "$XBPS_CXXFLAGS" -a -z "$bootstrap" ]; then
if [ -z "$XBPS_CFLAGS" -a -z "$XBPS_CXXFLAGS" -a -z "$CHROOT_READY" ]; then
if [ -s ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh ]; then
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
fi