diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-11-09 20:27:47 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-11-09 20:27:47 +0000 |
commit | f58dcd785752deaa097d9cdbef2c32964a62e3fc (patch) | |
tree | 67c62710f1800e21813d31685022db513be5ead0 /makefiles/Makefile.tools | |
parent | ef248bcce8092635c2aa2f8736bc97521fdf0266 (diff) | |
download | buildsystem-f58dcd785752deaa097d9cdbef2c32964a62e3fc.tar.gz buildsystem-f58dcd785752deaa097d9cdbef2c32964a62e3fc.tar.bz2 |
Actually, we need to make the host tooling the same as the target's in the case where host==target. Otherwise, default to cc/c++.
svn path=/trunk/tools/buildsystem/; revision=9673
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r-- | makefiles/Makefile.tools | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index af70003..c5a243b 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -184,9 +184,15 @@ ECHO ?= echo GENHTML ?= genhtml -HOST_CC ?= cc +ifeq ($(HOST),$(TARGET)) + HOST_CC ?= $(CC) -HOST_CXX ?= c++ + HOST_CXX ?= $(CXX) +else + HOST_CC ?= cc + + HOST_CXX ?= c++ +endif INSTALL ?= install |