common/environment/build: set CCACHE_BASEDIR to wrksrc

this will rewrite total paths to be relative to CCACHE_BASEDIR before caching,
helps prevent cache misses due to changed wrksrc with build systems like cmake
that use total paths in their Makefiles
This commit is contained in:
John 2020-06-23 12:56:12 +02:00 committed by John Zimmermann
parent f7c617938f
commit ea2c703153
5 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
../configure/ccache.sh

View file

@ -0,0 +1 @@
../configure/ccache.sh

View file

@ -0,0 +1 @@
export CCACHE_BASEDIR="$wrksrc/$build_wrksrc"

View file

@ -0,0 +1 @@
../configure/ccache.sh

View file

@ -0,0 +1 @@
../configure/ccache.sh