aboutsummaryrefslogtreecommitdiff
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
commitd50c22461c1cbd630afcec7477f74e47726ae48f (patch)
treef84d3309b09f4b8ee041a438da5dd0242912259e
parent5b28b6ef341a2b704ea5228c366f070889ca70ee (diff)
downloadnewlib-d50c22461c1cbd630afcec7477f74e47726ae48f.zip
newlib-d50c22461c1cbd630afcec7477f74e47726ae48f.tar.gz
newlib-d50c22461c1cbd630afcec7477f74e47726ae48f.tar.bz2
* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.in5
-rw-r--r--Makefile.tpl5
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 44f69e9..bb27eaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
+ * Makefile.tpl: Make GCC use a separate config.cache.
+ * Makefile.in: Regenerate.
+
PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates
to them.)
diff --git a/Makefile.in b/Makefile.in
index 8fe85ff..c8dad9c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -23572,6 +23572,9 @@ install-target-rda: 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:
@@ -23609,7 +23612,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
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