mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #1442 from marineam/revert
Revert "profiles: tell ccache to rewrite paths relative to $S"
This commit is contained in:
commit
f08735a1c7
@ -99,10 +99,3 @@ SYSROOT_WRAPPERS_BIN="/usr/lib/sysroot-wrappers/bin"
|
|||||||
if [[ "$PATH" != *"$SYSROOT_WRAPPERS_BIN"* ]]; then
|
if [[ "$PATH" != *"$SYSROOT_WRAPPERS_BIN"* ]]; then
|
||||||
export PATH="$SYSROOT_WRAPPERS_BIN:$PATH"
|
export PATH="$SYSROOT_WRAPPERS_BIN:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Improve the chance that ccache is valid across versions by making all
|
|
||||||
# paths under $S relative to $S, avoiding encoding the package version
|
|
||||||
# contained in the path into __FILE__ expansions and debug info.
|
|
||||||
if [[ -z "${CCACHE_BASEDIR}" ]] && [[ -d "${S}" ]]; then
|
|
||||||
export CCACHE_BASEDIR="${S}"
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user