Merge pull request #1600 from pullmoll/master
xbps-src: unified ccache directory
This commit is contained in:
commit
420ed45147
5
xbps-src
5
xbps-src
|
@ -536,7 +536,10 @@ else
|
|||
export PATH="$MYPATH"
|
||||
if [ -n "$XBPS_CCACHE" ]; then
|
||||
CCACHEPATH="/usr/lib/ccache/bin"
|
||||
export CCACHE_DIR="$XBPS_HOSTDIR/ccache-${XBPS_CROSS_BUILD:-${XBPS_MACHINE}}"
|
||||
export CCACHE_DIR="$XBPS_HOSTDIR/ccache"
|
||||
# Avoid not using cached files just due to compiler mtime
|
||||
# changes when e.g. bootstrapping
|
||||
export CCACHE_COMPILERCHECK=content
|
||||
export PATH="$CCACHEPATH:$PATH"
|
||||
mkdir -p $CCACHE_DIR
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user