aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:31:06 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:31:06 +0000
commitac7b618e105c458ef9c34e8735cf5f17b526fb4d (patch)
tree6cb1d905f578117c9b67e740162464001f524a2e /Makefile.tpl
parent95036d20ff28a8f19b644b9d1a5c6b60012872b4 (diff)
downloadgdb-ac7b618e105c458ef9c34e8735cf5f17b526fb4d.zip
gdb-ac7b618e105c458ef9c34e8735cf5f17b526fb4d.tar.gz
gdb-ac7b618e105c458ef9c34e8735cf5f17b526fb4d.tar.bz2
* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.
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 3b545c4..af5b291 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