Commit 87cdf04b by Rainer Orth Committed by Rainer Orth

Fix make install-gcc-specs with empty GCC_SPEC_FILES

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

From-SVN: r235754
parent 7176a4a0
2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc-interface/Makefile.in (install-gcc-specs): Use foreach.
Honor DESTDIR.
2016-05-02 Tristan Gingold <gingold@adacore.com> 2016-05-02 Tristan Gingold <gingold@adacore.com>
* fname.adb (Is_Predefined_File_Name): Also consider non-krunched * fname.adb (Is_Predefined_File_Name): Also consider non-krunched
......
...@@ -2670,10 +2670,9 @@ gnatlink-re: ../stamp-tools gnatmake-re ...@@ -2670,10 +2670,9 @@ gnatlink-re: ../stamp-tools gnatmake-re
install-gcc-specs: install-gcc-specs:
# Install all the requested GCC spec files. # Install all the requested GCC spec files.
for f in $(GCC_SPEC_FILES); do \ $(foreach f,$(GCC_SPEC_FILES), \
$(INSTALL_DATA_DATE) $(srcdir)/ada/$$f \ $(INSTALL_DATA_DATE) $(srcdir)/ada/$(f) \
$(libsubdir)/$$(echo $$f|sed -e 's#_[a-zA-Z0-9]*##g'); \ $(DESTDIR)$(libsubdir)/$$(echo $(f)|sed -e 's#_[a-zA-Z0-9]*##g');)
done
install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs
$(RMDIR) $(DESTDIR)$(ADA_RTL_OBJ_DIR) $(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