re PR ada/64492 (Disabling libada prevents building gnattools-cross)

PR ada/64492
	* gcc-interface/Makefile.in (../stamp-tools): Reinstate dropped code.

From-SVN: r219183
This commit is contained in:
Eric Botcazou 2015-01-05 10:17:12 +00:00 committed by Eric Botcazou
parent 6a0a7f0782
commit ef3a7cca24
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
PR ada/64492
* gcc-interface/Makefile.in (../stamp-tools): Reinstate dropped code.
2015-01-04 Uros Bizjak <ubizjak@gmail.com>
* gcc-interface/misc.c (internal_error_function): Use xasprintf instead

View File

@ -2481,9 +2481,16 @@ GCC_LINK=$(CXX) $(GCC_LINK_FLAGS) $(ADA_INCLUDES) $(LDFLAGS)
# Build directory for the tools. Let's copy the target-dependent
# sources using the same mechanism as for gnatlib. The other sources are
# accessed using the vpath directive below
# Note: dummy target, stamp-tools is mainly handled by gnattools.
../stamp-tools:
-$(RM) tools/*
-$(RMDIR) tools
-$(MKDIR) tools
-(cd tools; $(LN_S) ../sdefault.adb ../snames.ads ../snames.adb .)
-$(foreach PAIR,$(TOOLS_TARGET_PAIRS), \
$(RM) tools/$(word 1,$(subst <, ,$(PAIR)));\
$(LN_S) $(fsrcpfx)ada/$(word 2,$(subst <, ,$(PAIR))) \
tools/$(word 1,$(subst <, ,$(PAIR)));)
touch ../stamp-tools
# when compiling the tools, the runtime has to be first on the path so that