summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2006-12-19 11:01:36 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2006-12-19 11:01:36 +0000
commit8efea775498b72272831867e0ae0b5dbc9750ea8 (patch)
tree6ae397985e283ee11bd90f2ca03fc95558bbd078 /Makefile.def
parented88a7ed92b662539ad48d7bf07392b896d53c67 (diff)
downloadgcc-8efea775498b72272831867e0ae0b5dbc9750ea8.tar.gz
re PR bootstrap/29544 (Not building with checking in stage1)
2006-12-19 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/29544 * Makefile.def (flags_to_pass): Add STAGE1_CHECKING. (bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags, move here comment from Makefile.tpl. * Makefile.tpl: Move some definitions higher in the file. (STAGE1_CHECKING): New. * configure.in: Add --enable-stage1-checking. * configure: Regenerate. * Makefile.in: Regenerate. gcc: 2006-12-19 Paolo Bonzini <bonzini@gnu.org> * gcc/Makefile.in (STAGE1_CHECKING): Rename to... (STAGE1_CHECKING_CFLAGS): ... this. From-SVN: r120048
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.def b/Makefile.def
index 33e47f364e4..11a09708983 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -226,6 +226,7 @@ flags_to_pass = { flag= LDFLAGS ; };
flags_to_pass = { flag= LIBCFLAGS ; };
flags_to_pass = { flag= LIBCXXFLAGS ; };
flags_to_pass = { flag= STAGE1_CFLAGS ; };
+flags_to_pass = { flag= STAGE1_CHECKING ; };
flags_to_pass = { flag= STAGE1_LANGUAGES ; };
// Target tools
@@ -487,7 +488,14 @@ dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
// Toplevel bootstrap
bootstrap_stage = {
id=1 ;
- stage_configure_flags='--disable-intermodule \
+
+ // * We force-disable intermodule optimizations, even if
+ // --enable-intermodule was passed, since the installed compiler
+ // probably can't handle them. Luckily, autoconf always respects
+ // the last argument when conflicting --enable arguments are passed.
+ // * Likewise, we force-disable coverage flags, since the installed
+ // compiler probably has never heard of them.
+ stage_configure_flags='--disable-intermodule $(STAGE1_CHECKING) \
--disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
stage_make_flags='CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)"' ; };
bootstrap_stage = {