For bug #158177, force configure scripts that automatically detect ccache to respect...
authorZac Medico <zmedico@gentoo.org>
Sat, 16 Dec 2006 05:21:52 +0000 (05:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 16 Dec 2006 05:21:52 +0000 (05:21 -0000)
svn path=/main/trunk/; revision=5302

bin/ebuild.sh

index fcb7438ed3a174f9c5fbea1506478efc8edcb003..1b07ad55b23c6f5cda18e222b0ea6db1c94ae8b9 100755 (executable)
@@ -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.