include: extend SetupHostCommand macro to accept more arguments
Commitd6d3db0543
added more gcc version probes, exceeding the argument limit of the SetupHostCommand macro, leading to failing GCC/LLVM tests on OS X. Extend the handled number of arguments to restore proper functionality. Fixes FS#1470 Fixesd6d3db0543
("build: Improve GCC version detection") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
2b84f95f38
commit
e9eb9393f4
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ define SetupHostCommand
|
||||||
for cmd in $(call QuoteHostCommand,$(3)) $(call QuoteHostCommand,$(4)) \
|
for cmd in $(call QuoteHostCommand,$(3)) $(call QuoteHostCommand,$(4)) \
|
||||||
$(call QuoteHostCommand,$(5)) $(call QuoteHostCommand,$(6)) \
|
$(call QuoteHostCommand,$(5)) $(call QuoteHostCommand,$(6)) \
|
||||||
$(call QuoteHostCommand,$(7)) $(call QuoteHostCommand,$(8)) \
|
$(call QuoteHostCommand,$(7)) $(call QuoteHostCommand,$(8)) \
|
||||||
$(call QuoteHostCommand,$(9)); do \
|
$(call QuoteHostCommand,$(9)) $(call QuoteHostCommand,$(10)) \
|
||||||
|
$(call QuoteHostCommand,$(11)) $(call QuoteHostCommand,$(12)); do \
|
||||||
if [ -n "$$$$$$$$cmd" ]; then \
|
if [ -n "$$$$$$$$cmd" ]; then \
|
||||||
bin="$$$$$$$$(PATH="$(subst $(space),:,$(filter-out $(STAGING_DIR_HOST)/%,$(subst :,$(space),$(PATH))))" \
|
bin="$$$$$$$$(PATH="$(subst $(space),:,$(filter-out $(STAGING_DIR_HOST)/%,$(subst :,$(space),$(PATH))))" \
|
||||||
which "$$$$$$$${cmd%% *}")"; \
|
which "$$$$$$$${cmd%% *}")"; \
|
||||||
|
|
Loading…
Reference in a new issue