From 412e76b487e8c48e5ee086eac2f9b83dfb216096 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 20 Sep 2021 20:14:37 -0400 Subject: configure: --no-ccache must disable CCACHE for $HOSTCC too! Accomplish this by setting CCACHE_DISABLE=true Change-Id: Ie930fc4e828ebb7a29234c1a8f371980489d5668 --- tools/configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/configure b/tools/configure index 4aaf0befb6..3e66785af4 100755 --- a/tools/configure +++ b/tools/configure @@ -4432,6 +4432,8 @@ elif [ "$ARG_CCACHE" != "0" ]; then if test -n "$ccache"; then echo "Found and uses ccache ($ccache)" fi +else + CCACHE_ARG="export CCACHE_DISABLE=true" fi # figure out the full path to the various commands if possible @@ -4724,6 +4726,7 @@ export ANDROID_NDK_PATH=${ANDROID_NDK_PATH} export ANDROID_SDK_PATH=${ANDROID_SDK_PATH} export ANDROID_PLATFORM_VERSION=${ANDROID_PLATFORM_VERSION} export TOOLSET=${toolset} +$CCACHE_ARG CONFIGURE_OPTIONS=${cmdline} -- cgit v1.2.3