Merge pull request #1096 from Kwiboo/ccache-disable

ccache: fix build with CCACHE_DISABLE
This commit is contained in:
Lukas Rusak 2016-12-26 17:11:36 -08:00 committed by GitHub
commit 0dc1a6514f

View File

@ -38,7 +38,9 @@ PKG_CONFIGURE_OPTS_HOST="--with-bundled-zlib"
post_makeinstall_host() {
# setup ccache
$ROOT/$TOOLCHAIN/bin/ccache --max-size=$CCACHE_CACHE_SIZE
if [ -z "$CCACHE_DISABLE" ]; then
$ROOT/$TOOLCHAIN/bin/ccache --max-size=$CCACHE_CACHE_SIZE
fi
cat > $ROOT/$TOOLCHAIN/bin/host-gcc <<EOF
#!/bin/sh