From 8d2226deba068a7b0be830b8a112a70332ec980e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Jun 2015 12:06:55 +0200 Subject: [PATCH] xbps-src: install dependencies with -U (--unpack-only). This should result in a considerable performance improvement, because the expensive configuration phase of all dependencies is skipped. Hopefully this does not introduce build issues :-) --- common/xbps-src/shutils/build_dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh index f6f6ef251e6..0ec934ef13a 100644 --- a/common/xbps-src/shutils/build_dependencies.sh +++ b/common/xbps-src/shutils/build_dependencies.sh @@ -88,9 +88,9 @@ install_pkg_from_repos() { tmplogf=${XBPS_STATEDIR}/xbps_${XBPS_TARGET_MACHINE}_bdep_${pkg}.log if [ -n "$cross" ]; then - $XBPS_INSTALL_XCMD -Ayd "$pkg" >$tmplogf 2>&1 + $XBPS_INSTALL_XCMD -UAyd "$pkg" >$tmplogf 2>&1 else - $XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1 + $XBPS_INSTALL_CMD -UAyd "$pkg" >$tmplogf 2>&1 fi rval=$? if [ $rval -ne 0 -a $rval -ne 17 ]; then