Skip to content

Commit 196b727

Browse files
committed
depends: Add comment about cache invalidation
1 parent 949c480 commit 196b727

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

depends/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ $(host_arch)_$(host_os)_id_string+=$(shell $(host_RANLIB) --version 2>/dev/null)
127127
$(host_arch)_$(host_os)_id_string+=$(shell $(host_STRIP) --version 2>/dev/null)
128128

129129
ifneq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
130+
# Make sure that cache is invalidated when switching between system and
131+
# depends-managed, pinned clang
130132
build_id_string+=system_clang
131133
$(host_arch)_$(host_os)_id_string+=system_clang
132134
endif

0 commit comments

Comments
 (0)