diff --git a/ChangeLog b/ChangeLog index 238dfe420b1..c513bb2afa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1998-09-22 Jim Wilson + + * 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 * Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'. diff --git a/Makefile.in b/Makefile.in index 6137b23e0de..5d43c485e6f 100644 --- a/Makefile.in +++ b/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: