From: Nathanael Nerode Date: Sat, 3 Jan 2004 18:31:06 +0000 (+0000) Subject: * Makefile.tpl: Make GCC use a separate config.cache. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac7b618e105c458ef9c34e8735cf5f17b526fb4d;p=binutils-gdb.git * Makefile.tpl: Make GCC use a separate config.cache. * Makefile.in: Regenerate. --- diff --git a/ChangeLog b/ChangeLog index 44f69e9b28e..bb27eaf38b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-01-03 Nathanael Nerode + * 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 8fe85ff369f..c8dad9cc65d 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 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