MAKEFILE: Fix gcc availability test for more/most platforms

This commit is contained in:
Mark Pizzolato 2014-08-03 03:38:38 -07:00
parent 1458712547
commit a01917e88c

View file

@ -77,7 +77,7 @@ else
endif
ifeq ($(WIN32),) #*nix Environments (&& cygwin)
ifeq ($(GCC),)
ifneq (has-gcc,$(shell if which -s gcc; then echo has-gcc; fi))
ifeq (,$(shell which gcc 2>/dev/null))
$(info *** Warning *** Using local cc since gcc isn't available locally.)
$(info *** Warning *** You may need to install gcc to build working simulators.)
GCC = cc