From 8e2b6811c1f70d93eae8fcddae77ace1059b075d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 5 Mar 2014 12:01:49 +0100 Subject: [PATCH] common/environment/configure: only set up cross --host/--sysroot vars for build_style=gnu-configure. --- common/environment/configure/gnu-configure-args.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/environment/configure/gnu-configure-args.sh b/common/environment/configure/gnu-configure-args.sh index 9b01cb4e0b0..9583281ad6f 100644 --- a/common/environment/configure/gnu-configure-args.sh +++ b/common/environment/configure/gnu-configure-args.sh @@ -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).