Improve error message on wrong tool chain (fix #1642)

Following the proposal of @jameysharp.
This commit is contained in:
Christian Helmuth 2015-08-11 10:58:02 +02:00
parent df662cc2f3
commit 5514671630
1 changed files with 1 additions and 1 deletions

View File

@ -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