summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2fcf3d6)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2265
4a8a32a2-be11-0410-ad9d-
d568d2c75423
# 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