common/environment/configure: only set up cross --host/--sysroot vars for build_style=gnu-configure.

This commit is contained in:
Juan RP 2014-03-05 12:01:49 +01:00
parent b20540b35f
commit 8e2b6811c1
1 changed files with 2 additions and 2 deletions

View File

@ -10,12 +10,12 @@ if [ -z "$CROSS_BUILD" ]; then
return 0 return 0
fi fi
configure_args+=" --host=$XBPS_CROSS_TRIPLET --with-sysroot=$XBPS_CROSS_BASE --with-libtool-sysroot=$XBPS_CROSS_BASE "
if [ "$build_style" != "gnu-configure" ]; then if [ "$build_style" != "gnu-configure" ]; then
return 0 return 0
fi fi
configure_args+=" --host=$XBPS_CROSS_TRIPLET --with-sysroot=$XBPS_CROSS_BASE --with-libtool-sysroot=$XBPS_CROSS_BASE "
_AUTOCONFCACHEDIR=${XBPS_COMMONDIR}/environment/configure/autoconf_cache _AUTOCONFCACHEDIR=${XBPS_COMMONDIR}/environment/configure/autoconf_cache
# Read autoconf cache variables for cross target (taken from OE). # Read autoconf cache variables for cross target (taken from OE).