From 2c72c8b822d21c45a8020e49f03691830f3bcff2 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 15 Sep 2015 22:17:04 +0200 Subject: makepkg: Set CCACHE_BASEDIR to make paths in $srcdir relative Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/makepkg.sh.in') 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 -- cgit v1.2.3