makefile: Improve error message when LEDGER_ENABLED=True & no gcc (#2008)

Closes #2005
This commit is contained in:
Dev Ojha 2018-08-13 11:42:38 -07:00 committed by Christopher Goes
parent 36b54e190f
commit 1854430e7b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ ci: get_tools get_vendor_deps install test_cover test_lint test
check-ledger:
ifeq ($(LEDGER_ENABLED),true)
ifndef GCC
$(error "gcc not installed for ledger support, please install")
$(error "gcc not installed for ledger support, please install or set LEDGER_ENABLED to false in the Makefile")
endif
else
TMP_BUILD_TAGS := $(BUILD_TAGS)