From 339c9b006c4484a89193246374d86d68f0060247 Mon Sep 17 00:00:00 2001
From: Alexandre Oliva <oliva@dcc.unicamp.br>
Date: Fri, 19 Sep 1997 05:23:00 +0000
Subject: [PATCH] Makefile.in (bootstrap2, bootstrap3): New targets.

        * Makefile.in (bootstrap2, bootstrap3): New targets.
        (all-bootstrap): Remove outdated and confusing target.
        (bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r15563
---
 ChangeLog   | 1 +
 Makefile.in | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 498df04e2654..c77eb86cd23c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Thu Sep 18 21:43:23 1997  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
 	* Makefile.in (bootstrap2, bootstrap3): New targets.
 	(all-bootstrap): Remove outdated and confusing target.
+	(bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down.
 
 1997-09-15 02:37  Ulrich Drepper  <drepper@cygnus.com>
 
diff --git a/Makefile.in b/Makefile.in
index dc0fb1a0bd96..bdb09d715af8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1288,13 +1288,13 @@ bootstrap bootstrap2 bootstrap3: all-texinfo all-bison all-byacc all-binutils al
 	@r=`pwd`; export r; \
 	s=`cd $(srcdir); pwd`; export s; \
 	$(SET_LIB_PATH) \
-	echo "Bootstrapping the compiler with -O2 -g"; \
-	cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) BOOT_CFLAGS="-O2 -g" $@
+	echo "Bootstrapping the compiler"; \
+	cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $@
 	@r=`pwd`; export r; \
 	s=`cd $(srcdir); pwd`; export s; \
 	$(SET_LIB_PATH) \
 	echo "Comparing stage2 and stage3 of the compiler"; \
-	cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) BOOT_CFLAGS="-O2 -g" compare
+	cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) compare
 	@echo "Building runtime libraries"; \
 	$(MAKE) all
 
-- 
GitLab