aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-09-10 10:14:04 +0300
committerEli Zaretskii <eliz@gnu.org>2018-09-10 10:14:04 +0300
commit23c4651c060c123493de004ef61d8ed052d46113 (patch)
treea5e6b01a67320902a6190dcc6cb25ae8562e426a /gdb
parentf9853190c8d90e9f7d43fae90478a0db291f9c03 (diff)
downloadbinutils-23c4651c060c123493de004ef61d8ed052d46113.zip
binutils-23c4651c060c123493de004ef61d8ed052d46113.tar.gz
binutils-23c4651c060c123493de004ef61d8ed052d46113.tar.bz2
Fix "make install-strip" failure to install gdb-add-index.sh
gdb/ChangeLog: 2018-09-10 Eli Zaretskii <eliz@gnu.org> * Makefile.in (transformed_name): Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install gdb-add-index.sh. Don't append $(EXEEXT) to the script, as it is not a program.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 96b28b0..7b0ef2e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2018-09-10 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (transformed_name): Use INSTALL_SCRIPT instead of
+ INSTALL_PROGRAM to install gdb-add-index.sh. Don't append
+ $(EXEEXT) to the script, as it is not a program.
+
2018-09-09 Simon Marchi <simon.marchi@ericsson.com>
* python/py-prettyprint.c (pretty_print_one_value): Return
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c76a4e4..d49f3ee 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1765,8 +1765,8 @@ install-only: $(CONFIG_INSTALL)
else \
true ; \
fi ; \
- $(INSTALL_PROGRAM) $(srcdir)/contrib/gdb-add-index.sh \
- $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT)
+ $(INSTALL_SCRIPT) $(srcdir)/contrib/gdb-add-index.sh \
+ $(DESTDIR)$(bindir)/$$transformed_name
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
install-strip: