Only mention non-host triples if they exist.

This commit is contained in:
Graydon Hoare 2012-03-26 16:05:49 -07:00
parent 89dec28a5c
commit f904453db2

View File

@ -63,7 +63,10 @@ CFG_INFO := $(info cfg: make restarts: $(MAKE_RESTARTS))
endif endif
CFG_INFO := $(info cfg: shell host triple $(CFG_HOST_TRIPLE)) CFG_INFO := $(info cfg: shell host triple $(CFG_HOST_TRIPLE))
ifneq ($(wildcard $(NON_HOST_TRIPLES)),)
CFG_INFO := $(info cfg: non host triples $(NON_HOST_TRIPLES)) CFG_INFO := $(info cfg: non host triples $(NON_HOST_TRIPLES))
endif
ifdef CFG_DISABLE_OPTIMIZE ifdef CFG_DISABLE_OPTIMIZE
$(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)) $(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE))