diff options
author | cls%seawood.org <devnull@localhost> | 2000-08-20 23:53:06 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2000-08-20 23:53:06 +0000 |
commit | b1e73006f35355f11aeefd42aea10092f29112fb (patch) | |
tree | 6125e32d75897813be1ffeebe14f223ff4d27883 | |
parent | 22a80dd90ae172a6d3753acc53a1f76e50f141be (diff) | |
download | nspr-hg-b1e73006f35355f11aeefd42aea10092f29112fb.tar.gz |
Only use HOST_CC & friends when actually cross-compiling.
-rw-r--r-- | config/rules.mk | 2 |
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 |