In:
http://gcc.gnu.org/ml/gcc-patches/2006-01/msg02102.html
you add restrap unconditionally, and yet it was already defined
above, thus causing make to say:
mrs $ make
Makefile:13094: warning: overriding commands for target `restrap'
Makefile:12386: warning: ignoring old commands for target `restrap'
From Makefile.in::
@if gcc-no-bootstrap
# GCC has some more recursive targets, which trigger the old
# (but still current, until the toplevel bootstrap project
# is finished) compiler bootstrapping rules.
GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-
lean bootstrap3 bootstrap3-leanbootstrap4 bootstrap4-lean bubblestrap
quickstrap cleanstrap restrap
.PHONY: $(GCC_STRAP_TARGETS)
$(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
@r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(HOST_EXPORTS) \
restrap:
@: $(MAKE); $(stage)
rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4
stageprofile stagefeedback
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all
?
Do you need an:
@if gcc-bootstrap
on the second one?