diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2016-05-02 13:08:59 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2016-05-02 13:08:59 +0000 |
commit | 87cdf04b1adacaf5dc161d2c0c1f990f4a36d67f (patch) | |
tree | bc44369a93e555010257a9cdb37ba816127231ac /gcc | |
parent | 7176a4a096decd4a1930e4bd84f8ba2f05f13f81 (diff) | |
download | gcc-87cdf04b1adacaf5dc161d2c0c1f990f4a36d67f.zip gcc-87cdf04b1adacaf5dc161d2c0c1f990f4a36d67f.tar.gz gcc-87cdf04b1adacaf5dc161d2c0c1f990f4a36d67f.tar.bz2 |
Fix make install-gcc-specs with empty GCC_SPEC_FILES
* gcc-interface/Makefile.in (install-gcc-specs): Use foreach.
Honor DESTDIR.
From-SVN: r235754
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/Makefile.in | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 6f56c60..a48c2f5 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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 diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index d9ede9f..8996dd1 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -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) |