summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>2000-02-17 19:38:38 +0000
committercls%seawood.org <devnull@localhost>2000-02-17 19:38:38 +0000
commita077c98b8a85f32da91649b727a36e3e2797a811 (patch)
tree0e60d1afddee7ff598f3b0647cf88f09c56d23b7
parentbf8e7a0e6faac350707cb03f6f764158c690efeb (diff)
downloadnspr-hg-a077c98b8a85f32da91649b727a36e3e2797a811.tar.gz
Only use HOST_CC for INTERNAL_TOOLS when cross-compiling as it's the only time it actually matters. r,a=wtcNSPRPUB_20000208
-rw-r--r--config/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/rules.mk b/config/rules.mk
index 4b5829c3..15430076 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -62,12 +62,14 @@ endif
ifdef USE_AUTOCONF
ifdef INTERNAL_TOOLS
+ifdef CROSS_COMPILE
CC=$(HOST_CC)
CCC=$(HOST_CXX)
CFLAGS=$(HOST_CFLAGS)
CXXFLAGS=$(HOST_CXXFLAGS)
endif
endif
+endif
#
# This makefile contains rules for building the following kinds of