From a01917e88c174452ced8ce35bac6cc147158c8a5 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 3 Aug 2014 03:38:38 -0700 Subject: [PATCH] MAKEFILE: Fix gcc availability test for more/most platforms --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index ec1d5413..d6f5f791 100644 --- a/makefile +++ b/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