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
This commit is contained in:
parent
c10638c922
commit
f6b5826298
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
|
||||
|
14
Makefile.in
14
Makefile.in
@ -1351,8 +1351,11 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
|
||||
$(SET_LIB_PATH) \
|
||||
echo "$$msg"; \
|
||||
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
|
||||
@echo "Building runtime libraries"; \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) all
|
||||
@r=`pwd`; export r; \
|
||||
s=`cd $(srcdir); pwd` ; export s; \
|
||||
$(SET_LIB_PATH) \
|
||||
echo "Building runtime libraries"; \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) all
|
||||
|
||||
.PHONY: cross
|
||||
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) \
|
||||
echo "Building the C and C++ compiler"; \
|
||||
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
|
||||
@echo "Building runtime libraries"; \
|
||||
$(MAKE) all LANGUAGES="c c++"
|
||||
@r=`pwd`; export r; \
|
||||
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
|
||||
check-gcc:
|
||||
|
Loading…
Reference in New Issue
Block a user