This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[nvptx-tools, committed] Also install [...]/nvptx-none/bin/ar and [...]/nvptx-none/bin/ranlib.
- From: Thomas Schwinge <thomas at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: Bernd Schmidt <bernds at codesourcery dot com>, Thomas Schwinge <thomas at codesourcery dot com>
- Date: Tue, 23 Dec 2014 19:50:23 +0100
- Subject: [nvptx-tools, committed] Also install [...]/nvptx-none/bin/ar and [...]/nvptx-none/bin/ranlib.
- Authentication-results: sourceware.org; auth=none
GCC needs this, if nvptx-none-ar and nvptx-none-ranlib aren't found in $PATH.
---
tools/Makefile.in | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git tools/Makefile.in tools/Makefile.in
index 6829e29..8dcedbc 100644
--- tools/Makefile.in
+++ tools/Makefile.in
@@ -45,11 +45,15 @@ install: all
for x in $(PROGRAMS); do \
$(INSTALL_PROGRAM) -m 755 $$x $(DESTDIR)$(bindir)/$$x; \
done
- rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
- rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
rm -f $(DESTDIR)$(bindir)/nvptx-none-ar
rm -f $(DESTDIR)$(bindir)/nvptx-none-ranlib
- $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as $(DESTDIR)$(prefix)/nvptx-none/bin/as
- $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld $(DESTDIR)$(prefix)/nvptx-none/bin/ld
$(LN_S) $(AR) $(DESTDIR)$(bindir)/nvptx-none-ar
$(LN_S) $(RANLIB) $(DESTDIR)$(bindir)/nvptx-none-ranlib
+ rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+ rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
+ rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+ rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib
+ $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ar $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+ $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as $(DESTDIR)$(prefix)/nvptx-none/bin/as
+ $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+ $(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ranlib $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib
--
1.8.1.1