From 0257a56c44dbc5dee20afbcf7df643fa23a990c5 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Thu, 7 Jan 2021 00:27:11 -0500 Subject: [PATCH] depends: Add comment about cache invalidation --- depends/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/depends/Makefile b/depends/Makefile index 54eecceee7..412b332ee7 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -126,6 +126,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