summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>2000-08-20 23:53:06 +0000
committercls%seawood.org <devnull@localhost>2000-08-20 23:53:06 +0000
commitb1e73006f35355f11aeefd42aea10092f29112fb (patch)
tree6125e32d75897813be1ffeebe14f223ff4d27883
parent22a80dd90ae172a6d3753acc53a1f76e50f141be (diff)
downloadnspr-hg-b1e73006f35355f11aeefd42aea10092f29112fb.tar.gz
Only use HOST_CC & friends when actually cross-compiling.
-rw-r--r--config/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/rules.mk b/config/rules.mk
index 911ce41a..968c2880 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -61,6 +61,7 @@ include $(topsrcdir)/config/config.mk
endif
ifdef USE_AUTOCONF
+ifdef CROSS_COMPILE
ifdef INTERNAL_TOOLS
CC=$(HOST_CC)
CCC=$(HOST_CXX)
@@ -68,6 +69,7 @@ CFLAGS=$(HOST_CFLAGS)
CXXFLAGS=$(HOST_CXXFLAGS)
endif
endif
+endif
#
# This makefile contains rules for building the following kinds of