Makefile.tpl: Make GCC use a separate config.cache.

* Makefile.tpl: Make GCC use a separate config.cache.
	* Makefile.in: Regenerate.

From-SVN: r75360
This commit is contained in:
Nathanael Nerode 2004-01-03 18:29:57 +00:00
parent 6b9eb62c84
commit 78a816a6ec
3 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org> 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 PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates (I don't know if it will fix either of them, but it relates
to them.) to them.)

View File

@ -23572,6 +23572,9 @@ install-target-rda: installdirs
# build modules. So GCC is a sort of hybrid. # build modules. So GCC is a sort of hybrid.
# gcc is the only module which uses GCC_FLAGS_TO_PASS. # 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 .PHONY: configure-gcc maybe-configure-gcc
maybe-configure-gcc: maybe-configure-gcc:
configure-gcc: configure-gcc:
@ -23609,7 +23612,7 @@ configure-gcc:
libsrcdir="$$s/gcc";; \ libsrcdir="$$s/gcc";; \
esac; \ esac; \
$(SHELL) $${libsrcdir}/configure \ $(SHELL) $${libsrcdir}/configure \
$(HOST_CONFIGARGS) $${srcdiroption} \ $(HOST_CONFIGARGS) $${srcdiroption} --cache-file=config.cache \
|| exit 1 || exit 1
# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that

View File

@ -1069,6 +1069,9 @@ install-target-[+module+]: installdirs
# build modules. So GCC is a sort of hybrid. # build modules. So GCC is a sort of hybrid.
# gcc is the only module which uses GCC_FLAGS_TO_PASS. # 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 .PHONY: configure-gcc maybe-configure-gcc
maybe-configure-gcc: maybe-configure-gcc:
configure-gcc: configure-gcc:
@ -1106,7 +1109,7 @@ configure-gcc:
libsrcdir="$$s/gcc";; \ libsrcdir="$$s/gcc";; \
esac; \ esac; \
$(SHELL) $${libsrcdir}/configure \ $(SHELL) $${libsrcdir}/configure \
$(HOST_CONFIGARGS) $${srcdiroption} \ $(HOST_CONFIGARGS) $${srcdiroption} --cache-file=config.cache \
|| exit 1 || exit 1
# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that