common/environment: set debug-prefix-map to prevent ccache cache misses

Packages with debug symbols do invalidate their cache with every version
change since $wrksrc does contain the version number and is getting cached

Closes: #33002 [via git-merge-pr]
This commit is contained in:
John 2021-09-17 21:30:10 +02:00 committed by Duncaen
parent e0b9c96407
commit ca73e4b1d2
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
5 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@ -0,0 +1,2 @@
CFLAGS="${CFLAGS} -fdebug-prefix-map=$wrksrc=."
CXXFLAGS="${CXXFLAGS} -fdebug-prefix-map=$wrksrc=."

View File

@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh