fix cc detection
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 13 Feb 2003 13:18:09 +0000 (13:18 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 13 Feb 2003 13:18:09 +0000 (13:18 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2261 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/regression/ports/host/spec.mk

index 55da042b34056ef6ebbe72453f5a7a93ad22028a..e1dd68f64676f75d61046e5b3eccc7f78b1153da 100644 (file)
@@ -1,5 +1,5 @@
 # Port specification for compiling on the host machines version of gcc
-SDCC = $(shell which gcc || which cc)
+SDCC = $(shell which gcc > /dev/null || which cc)
 SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT=
 
 EXEEXT = .bin