xbps-src: create a ccache dir per arch.
This commit is contained in:
parent
5737b774b2
commit
5da744da85
1 changed files with 2 additions and 2 deletions
4
xbps-src
4
xbps-src
|
@ -485,13 +485,13 @@ else
|
||||||
export PATH="$MYPATH"
|
export PATH="$MYPATH"
|
||||||
if [ -n "$XBPS_CCACHE" ]; then
|
if [ -n "$XBPS_CCACHE" ]; then
|
||||||
CCACHEPATH="/usr/lib/ccache/bin"
|
CCACHEPATH="/usr/lib/ccache/bin"
|
||||||
export CCACHE_DIR="$XBPS_HOSTDIR/ccache"
|
export CCACHE_DIR="$XBPS_HOSTDIR/ccache-${XBPS_CROSS_BUILD:-${XBPS_MACHINE}}"
|
||||||
export PATH="$CCACHEPATH:$PATH"
|
export PATH="$CCACHEPATH:$PATH"
|
||||||
mkdir -p $CCACHE_DIR
|
mkdir -p $CCACHE_DIR
|
||||||
fi
|
fi
|
||||||
if [ -n "$XBPS_DISTCC" ]; then
|
if [ -n "$XBPS_DISTCC" ]; then
|
||||||
DISTCCPATH="/usr/lib/distcc/bin"
|
DISTCCPATH="/usr/lib/distcc/bin"
|
||||||
export DISTCC_DIR="$XBPS_HOSTDIR/distcc"
|
export DISTCC_DIR="$XBPS_HOSTDIR/distcc-${XBPS_CROSS_BUILD:-${XBPS_MACHINE}}"
|
||||||
export DISTCC_HOSTS="$XBPS_DISTCC_HOSTS"
|
export DISTCC_HOSTS="$XBPS_DISTCC_HOSTS"
|
||||||
export PATH="$DISTCCPATH:$PATH"
|
export PATH="$DISTCCPATH:$PATH"
|
||||||
mkdir -p $DISTCC_DIR
|
mkdir -p $DISTCC_DIR
|
||||||
|
|
Loading…
Reference in a new issue