This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Pass BOOT_CFLAGS down when using quickstrap
- From: Geoffrey Keating <gkeating at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 29 Apr 2003 13:33:54 -0700 (PDT)
- Subject: Pass BOOT_CFLAGS down when using quickstrap
I wanted to do 'make BOOT_CFLAGS="-O2 -g -dH"' and it wouldn't work;
this fixes it.
Bootstrapped & tested on powerpc-darwin.
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-quickstrapbootcflags.patch============
2003-04-29 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1043
diff -u -p -u -p -r1.1043 Makefile.in
--- Makefile.in 25 Apr 2003 21:15:01 -0000 1.1043
+++ Makefile.in 29 Apr 2003 20:32:45 -0000
@@ -3593,7 +3593,7 @@ bubblestrap:
quickstrap:
if test -f stage_last ; then \
- LAST=`cat stage_last`; rm $$LAST; $(MAKE) LANGUAGES="$(LANGUAGES)" $$LAST; \
+ LAST=`cat stage_last`; rm $$LAST; $(MAKE) BOOT_CFLAGS="$(BOOT_CFLAGS)" LANGUAGES="$(LANGUAGES)" $$LAST; \
else \
$(MAKE) stage1_build; \
fi
============================================================