diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2015-09-15 22:17:04 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-19 14:33:30 +1000 |
commit | 2c72c8b822d21c45a8020e49f03691830f3bcff2 (patch) | |
tree | 279783d699f17e54cec347a5f718a0b9283957dd /scripts | |
parent | 2627b423ff786edd60123a2670a69841fe4cb5a4 (diff) | |
download | pacman-2c72c8b822d21c45a8020e49f03691830f3bcff2.tar.xz |
makepkg: Set CCACHE_BASEDIR to make paths in $srcdir relative
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a8b409fa..cf6a6dc9 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -863,6 +863,7 @@ run_build() { if check_buildoption "distcc" "y"; then if (( ccache )); then export CCACHE_PREFIX="${CCACHE_PREFIX:+$CCACHE_PREFIX }distcc" + export CCACHE_BASEDIR="$srcdir" elif [[ -d /usr/lib/distcc/bin ]]; then export PATH="/usr/lib/distcc/bin:$PATH" fi |