Fix make install-gcc-specs with empty GCC_SPEC_FILES
* gcc-interface/Makefile.in (install-gcc-specs): Use foreach. Honor DESTDIR. From-SVN: r235754
This commit is contained in:
parent
7176a4a096
commit
87cdf04b1a
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* fname.adb (Is_Predefined_File_Name): Also consider non-krunched
|
||||
|
|
|
@ -2670,10 +2670,9 @@ 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)/$$(echo $$f|sed -e 's#_[a-zA-Z0-9]*##g'); \
|
||||
done
|
||||
$(foreach f,$(GCC_SPEC_FILES), \
|
||||
$(INSTALL_DATA_DATE) $(srcdir)/ada/$(f) \
|
||||
$(DESTDIR)$(libsubdir)/$$(echo $(f)|sed -e 's#_[a-zA-Z0-9]*##g');)
|
||||
|
||||
install-gnatlib: ../stamp-gnatlib-$(RTSDIR) install-gcc-specs
|
||||
$(RMDIR) $(DESTDIR)$(ADA_RTL_OBJ_DIR)
|
||||
|
|
Loading…
Reference in New Issue