Improve error message on wrong tool chain (fix #1642)
Following the proposal of @jameysharp.
This commit is contained in:
parent
df662cc2f3
commit
5514671630
|
@ -104,7 +104,7 @@ ifneq ($(DST_DIRS),)
|
|||
REQUIRED_GCC_VERSION ?= 4.9.2
|
||||
GCC_VERSION := $(filter $(REQUIRED_GCC_VERSION) ,$(shell $(CUSTOM_CXX) --version))
|
||||
ifneq ($(GCC_VERSION), $(REQUIRED_GCC_VERSION))
|
||||
$(error "GCC version $(REQUIRED_GCC_VERSION) is required")
|
||||
$(error "$(CUSTOM_CXX) version $(REQUIRED_GCC_VERSION) is required")
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue