The problem has been introduced by r15-1881.
gcc/ada
PR ada/118247
* gcc-interface/Make-lang.in (GNATTOOLS_CROSS_MV): Copy gnatbind
instead of moving it.
gnattools-cross-mv:
$(GNATTOOLS_CROSS_MV)
+# gnatbind$(exeext) is a prerequisite of the ada target and
+# thus needs to be copied instead of moved.
GNATTOOLS_CROSS_MV=\
- for tool in $(ADA_TOOLS) ; do \
- if [ -f $$tool$(exeext) ] ; \
- then \
+ if [ -f gnatbind$(exeext) ] ; then \
+ $(CP) gnatbind$(exeext) gnatbind-cross$(exeext); \
+ fi; \
+ for tool in $(filter-out gnatbind, $(ADA_TOOLS)) ; do \
+ if [ -f $$tool$(exeext) ] ; then \
$(MV) $$tool$(exeext) $$tool-cross$(exeext); \
fi; \
done