Skip to content

Commit 156b604

Browse files
theunidongcarl
authored andcommitted
depends: force a new host id string if FORCE_USE_SYSTEM_CLANG is in use
This should be caught by the differing clang --version outputs, but because we haven't yet extracted our pinned clang, the system one is actually used for the version check. That's not a problem because bumping our pinned clang will cause a rebuild of everything anyway.
1 parent c9c572a commit 156b604

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

depends/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ $(host_arch)_$(host_os)_id_string+=$(shell $(host_CXX) --version 2>/dev/null)
125125
$(host_arch)_$(host_os)_id_string+=$(shell $(host_RANLIB) --version 2>/dev/null)
126126
$(host_arch)_$(host_os)_id_string+=$(shell $(host_STRIP) --version 2>/dev/null)
127127

128+
ifneq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
129+
build_id_string+=system_clang
130+
$(host_arch)_$(host_os)_id_string+=system_clang
131+
endif
132+
128133
qrencode_packages_$(NO_QR) = $(qrencode_packages)
129134

130135
qt_packages_$(NO_QT) = $(qt_packages) $(qt_$(host_os)_packages) $(qt_$(host_arch)_$(host_os)_packages) $(qrencode_packages_)

0 commit comments

Comments
 (0)