summaryrefslogtreecommitdiff
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 /bin/ebuild.sh
parentMake repoman cache per-profile xmatch results. (diff)
downloadportage-multirepo-1363c1700fd811eb07952f607cecea37a48c1494.tar.gz
portage-multirepo-1363c1700fd811eb07952f607cecea37a48c1494.tar.bz2
portage-multirepo-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
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index fcb7438e..1b07ad55 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.