This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH to top-level Makefile



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]