Commit f6b58262 by Jim Wilson Committed by Jim Wilson

Fix `make bootstrap' failures where libraries are compiled with wrong compiler.

	* Makefile.in (bootstrap): Set r and s before make all.  Use
	BASE_FLAGS_TO_PASS in make all.
	(cross): Likewise.

From-SVN: r22569
parent c10638c9
1998-09-22 Jim Wilson <wilson@cygnus.com>
* Makefile.in (bootstrap): Set r and s before make all. Use
BASE_FLAGS_TO_PASS in make all.
(cross): Likewise.
1998-09-20 Mark Mitchell <mark@markmitchell.com> 1998-09-20 Mark Mitchell <mark@markmitchell.com>
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'. * Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
......
...@@ -1351,8 +1351,11 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b ...@@ -1351,8 +1351,11 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
$(SET_LIB_PATH) \ $(SET_LIB_PATH) \
echo "$$msg"; \ echo "$$msg"; \
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
@echo "Building runtime libraries"; \ @r=`pwd`; export r; \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all s=`cd $(srcdir); pwd` ; export s; \
$(SET_LIB_PATH) \
echo "Building runtime libraries"; \
$(MAKE) $(BASE_FLAGS_TO_PASS) all
.PHONY: cross .PHONY: cross
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
...@@ -1361,8 +1364,11 @@ cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld ...@@ -1361,8 +1364,11 @@ cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
$(SET_LIB_PATH) \ $(SET_LIB_PATH) \
echo "Building the C and C++ compiler"; \ echo "Building the C and C++ compiler"; \
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
@echo "Building runtime libraries"; \ @r=`pwd`; export r; \
$(MAKE) all LANGUAGES="c c++" s=`cd $(srcdir); pwd` ; export s; \
$(SET_LIB_PATH) \
echo "Building runtime libraries"; \
$(MAKE) $(BASE_FLAGS_TO_PASS) all LANGUAGES="c c++"
.PHONY: check-gcc .PHONY: check-gcc
check-gcc: check-gcc:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment