projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
again: fix cc detection
[fw/sdcc]
/
support
/
regression
/
ports
/
host
/
spec.mk
diff --git
a/support/regression/ports/host/spec.mk
b/support/regression/ports/host/spec.mk
index e1dd68f64676f75d61046e5b3eccc7f78b1153da..077e1df57e67ad508a44e550a7b6cd11fdbf85b2 100644
(file)
--- a/
support/regression/ports/host/spec.mk
+++ b/
support/regression/ports/host/spec.mk
@@
-1,5
+1,5
@@
# Port specification for compiling on the host machines version of gcc
# Port specification for compiling on the host machines version of gcc
-SDCC = $(shell
which gcc > /dev/null || which
cc)
+SDCC = $(shell
( sh -c "gcc --version" 2>&1 ) > /dev/null && echo gcc || echo
cc)
SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT=
EXEEXT = .bin
SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT=
EXEEXT = .bin