summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-16 05:21:52 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-16 05:21:52 +0000
commit1363c1700fd811eb07952f607cecea37a48c1494 (patch)
tree606fc3d1d4f9eb94406fd167777b284739236365
parent5a61e60bf13dafcb56619e31c81f3620ce6c8a3c (diff)
downloadportage-1363c1700fd811eb07952f607cecea37a48c1494.tar.gz
portage-1363c1700fd811eb07952f607cecea37a48c1494.tar.bz2
portage-1363c1700fd811eb07952f607cecea37a48c1494.zip
For bug #158177, force configure scripts that automatically detect ccache to respect FEATURES="-ccache". Thanks to Horst Schirmeier <gentoo@schirmeier.com> for this suggestion.
svn path=/main/trunk/; revision=5302
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index fcb7438ed..1b07ad55b 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1405,6 +1405,10 @@ if [[ ${EBUILD_SH_ARGS} != "depend" ]] && [[ ${EBUILD_SH_ARGS} != "clean" ]] &&
addwrite "${CCACHE_DIR}"
[ -n "${CCACHE_SIZE}" ] && ccache -M ${CCACHE_SIZE} &> /dev/null
+ else
+ # Force configure scripts that automatically detect ccache to respect
+ # FEATURES="-ccache"
+ export CCACHE_DISABLE=1
fi
# XXX: Load up the helper functions.