This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH to top-level Makefile
- To: egcs-patches at cygnus dot com
- Subject: PATCH to top-level Makefile
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Fri, 18 Sep 1998 11:52:53 -0700
- Cc: Jeff Law <law at cygnus dot com>
- Reply-to: mark at markmitchell dot com
I discovered that `make CXXFLAGS="-fsquangle" bootstrap' doesn't work
as expected at the top-level; CXXFLAGS doesn't get passed down to the
library builds. This patch fixes it, I think. Jeff?
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com
1998-09-18 Mark Mitchell <mark@markmitchell.com>
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to sub-make
that builds run-time libraries.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/Makefile.in,v
retrieving revision 1.28
diff -c -p -r1.28 Makefile.in
*** Makefile.in 1998/09/05 01:14:27 1.28
--- Makefile.in 1998/09/18 18:42:24
*************** bootstrap bootstrap-lean bootstrap2 boot
*** 1352,1358 ****
echo "$$msg"; \
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
@echo "Building runtime libraries"; \
! $(MAKE) all
.PHONY: cross
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
--- 1352,1358 ----
echo "$$msg"; \
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
@echo "Building runtime libraries"; \
! $(MAKE) $(TARGET_FLAGS_TO_PASS) all
.PHONY: cross
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld