mirror of
https://github.com/open-simh/simh.git
synced 2026-01-25 11:55:43 +00:00
MAKEFILE: Fix gcc availability test for more/most platforms
This commit is contained in:
2
makefile
2
makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user