e12c409449
ChangeLog: * configure.ac (--with-build-config): New. Set BUILD_CONFIG. Default to bootstrap-debug only if compare-debug works. * configure: Rebuilt. * Makefile.tpl: Make BUILD_CONFIG configure-configurable. * Makefile.in: Rebuilt. contrib/ChangeLog: * bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle. * bootstrap-debug-lean.mk: Update comments. (STAGE2_CFLAGS): Likewise. (do-compare): Don't override. gcc/ChangeLog: * doc/invoke.texi (BUILD_CONFIG): Document --with-build-config. (bootstrap-debug): Explain conditions in which it becomes default. (bootstrap-debug-big): Rather than duplicate bootstrap-debug, make it add to it. From-SVN: r151367
12 lines
473 B
Makefile
12 lines
473 B
Makefile
# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather
|
|
# than comparing stripped object files, it compares compiler internal
|
|
# state during stage3. Both can be used simultaneously.
|
|
|
|
# This makes it slower than bootstrap-debug alone, for there's
|
|
# additional dumping and recompilation during stage3.
|
|
# bootstrap-debug-big can avoid the recompilation, if plenty of disk
|
|
# space is available.
|
|
|
|
STAGE2_CFLAGS += -fcompare-debug=
|
|
STAGE3_CFLAGS += -fcompare-debug
|