common/environment/configure: only set up cross --host/--sysroot vars for build_style=gnu-configure.
This commit is contained in:
parent
b20540b35f
commit
8e2b6811c1
|
@ -10,12 +10,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
return 0
|
||||
fi
|
||||
|
||||
configure_args+=" --host=$XBPS_CROSS_TRIPLET --with-sysroot=$XBPS_CROSS_BASE --with-libtool-sysroot=$XBPS_CROSS_BASE "
|
||||
|
||||
if [ "$build_style" != "gnu-configure" ]; then
|
||||
return 0
|
||||
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
|
||||
|
||||
# Read autoconf cache variables for cross target (taken from OE).
|
||||
|
|
Loading…
Reference in New Issue