diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index f150754bd1d..87983e3bb26 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -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