summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 18:29:57 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 18:29:57 +0000
commit6509bb23b1ba1fa694b84fe7e63dd905830ec5f4 (patch)
treebd41bcd3e565070a0f9fcace8d28c789500b060e /Makefile.tpl
parent74fef112ae691424eff1ee9f039f2d3bc0636639 (diff)
downloadgcc-6509bb23b1ba1fa694b84fe7e63dd905830ec5f4.tar.gz
* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 3b545c46095..af5b2910c8c 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1069,6 +1069,9 @@ install-target-[+module+]: installdirs
# build modules. So GCC is a sort of hybrid.
# gcc is the only module which uses GCC_FLAGS_TO_PASS.
+# Don't use shared host config.cache, as it will confuse later
+# directories; GCC wants slightly different values for some
+# precious variables. *sigh*
.PHONY: configure-gcc maybe-configure-gcc
maybe-configure-gcc:
configure-gcc:
@@ -1106,7 +1109,7 @@ configure-gcc:
libsrcdir="$$s/gcc";; \
esac; \
$(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
+ $(HOST_CONFIGARGS) $${srcdiroption} --cache-file=config.cache \
|| exit 1
# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that