aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-01-07 00:27:11 -0500
committerCarl Dong <contact@carldong.me>2021-01-07 14:24:06 -0500
commit196b7276495c5d125e3799aee6cfc54be6720ec7 (patch)
treeb86ce3869105115f009f1aca9e4a78fff97ad468
parent949c480e527532be58d6184deb313d91339efdbf (diff)
depends: Add comment about cache invalidation
-rw-r--r--depends/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/depends/Makefile b/depends/Makefile
index 6a4f268d66..596a46d4a2 100644
--- a/depends/Makefile
+++ b/depends/Makefile
@@ -127,6 +127,8 @@ $(host_arch)_$(host_os)_id_string+=$(shell $(host_RANLIB) --version 2>/dev/null)
$(host_arch)_$(host_os)_id_string+=$(shell $(host_STRIP) --version 2>/dev/null)
ifneq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
+# Make sure that cache is invalidated when switching between system and
+# depends-managed, pinned clang
build_id_string+=system_clang
$(host_arch)_$(host_os)_id_string+=system_clang
endif