Commit 339197c7 by Rainer Orth Committed by Rainer Orth

Fix make install-gcc-specs with empty GCC_SPECS_FILES

	* gcc-interface/Makefile.in (install-gcc-specs): Use foreach.
	Honor DESTDIR.

From-SVN: r270947
parent fcd0566b
2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc-interface/Makefile.in (install-gcc-specs): Use foreach.
Honor DESTDIR.
2019-04-29 Michael K. Darling <darlingm@gmail.com>
* gnatvsn.ads: Bump Library_Version to 10.
......
......@@ -505,9 +505,8 @@ gnatlink-re: ../stamp-tools gnatmake-re
install-gcc-specs:
# Install all the requested GCC spec files.
for f in $(GCC_SPEC_FILES); do \
$(INSTALL_DATA_DATE) $(srcdir)/ada/$$f $(libsubdir)/; \
done
$(foreach f,$(GCC_SPEC_FILES), \
$(INSTALL_DATA_DATE) $(srcdir)/ada/$(f) $(DESTDIR)$(libsubdir)/;)
install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs
$(RMDIR) $(DESTDIR)$(ADA_RTL_OBJ_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment