diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-12-19 11:01:36 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2006-12-19 11:01:36 +0000 |
commit | 8efea775498b72272831867e0ae0b5dbc9750ea8 (patch) | |
tree | 6ae397985e283ee11bd90f2ca03fc95558bbd078 /configure.in | |
parent | ed88a7ed92b662539ad48d7bf07392b896d53c67 (diff) | |
download | gcc-8efea775498b72272831867e0ae0b5dbc9750ea8.zip gcc-8efea775498b72272831867e0ae0b5dbc9750ea8.tar.gz gcc-8efea775498b72272831867e0ae0b5dbc9750ea8.tar.bz2 |
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 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 80c214f..9400c51 100644 --- a/configure.in +++ b/configure.in @@ -2428,6 +2428,18 @@ fi AC_SUBST(stage1_cflags) +# Enable --enable-checking in stage1 of the compiler. +AC_ARG_ENABLE(stage1-checking, +[ --enable-stage1-checking[=all] choose additional checking for stage1 + of the compiler.], +[stage1_checking=--enable-checking=${enable_stage1_checking}], +[if test "x$enable_checking" = xno; then + stage1_checking=--enable-checking +else + stage1_checking=--enable-checking${enable_checking+=}$enable_checking +fi]) +AC_SUBST(stage1_checking) + # Enable -Werror in bootstrap stage2 and later. # Change the default to "no" on release branches. AC_ARG_ENABLE(werror, |