aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-09-03 05:55:57 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-09-03 05:55:57 +0000
commite12c40944905e48a1830861c63e6e39ae67eb8b0 (patch)
tree25dfd748372489c6fc5d3fdee9ab3613caae4dc5 /Makefile.tpl
parent95da10ea1894ddc616d2d1a28f787e2c7b9a85e8 (diff)
downloadgcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.zip
gcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.tar.gz
gcc-e12c40944905e48a1830861c63e6e39ae67eb8b0.tar.bz2
configure.ac (--with-build-config): New.
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
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index b4e02d5..6c63d95 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -619,7 +619,7 @@ EXTRA_GCC_FLAGS = \
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
@if gcc
-BUILD_CONFIG = bootstrap-debug
+BUILD_CONFIG = @BUILD_CONFIG@
ifneq ($(BUILD_CONFIG),)
include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
endif