ccache: Include hash of compiler specs in hashing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-01-09 19:48:21 +00:00
parent cec5c724f5
commit 1d9be34e2a
2 changed files with 4 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ DIR_CONF = $(LFS_BASEDIR)/config
DIR_INFO = $(LFS_BASEDIR)/log
DIR_TMP = /tmp
# Add the compiler location and version and specs to the ccache hash
CCACHE_COMPILERCHECK += $(shell gcc -dumpspecs 2>/dev/null | md5sum | cut -d ' ' -f1)
###############################################################################
# Common Macro Definitions
###############################################################################