Author: jmb
Date: Mon Nov 9 14:27:47 2009
New Revision: 9673
URL:
http://source.netsurf-browser.org?rev=9673&view=rev
Log:
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++.
Modified:
trunk/tools/buildsystem/makefiles/Makefile.tools
Modified: trunk/tools/buildsystem/makefiles/Makefile.tools
URL:
http://source.netsurf-browser.org/trunk/tools/buildsystem/makefiles/Makef...
==============================================================================
--- trunk/tools/buildsystem/makefiles/Makefile.tools (original)
+++ trunk/tools/buildsystem/makefiles/Makefile.tools Mon Nov 9 14:27:47 2009
@@ -184,9 +184,15 @@
GENHTML ?= genhtml
-HOST_CC ?= cc
-
-HOST_CXX ?= c++
+ifeq ($(HOST),$(TARGET))
+ HOST_CC ?= $(CC)
+
+ HOST_CXX ?= $(CXX)
+else
+ HOST_CC ?= cc
+
+ HOST_CXX ?= c++
+endif
INSTALL ?= install