From 7ad2014ac518240a5aa8c5300a3123cfca2459b1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 27 Apr 2010 16:05:54 +0000 Subject: Properly install gold/ld as default cross linker. gold/ 2010-04-27 H.J. Lu * Makefile.am (install-exec-local): Properly install gold as default cross linker. * Makefile.in: Regenerated. ld/ 2010-04-27 H.J. Lu * Makefile.am (install-exec-local): Properly install ld as default cross linker. * Makefile.in: Regenerated. --- gold/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gold/Makefile.in') diff --git a/gold/Makefile.in b/gold/Makefile.in index 13c71ca..2fc2eca 100644 --- a/gold/Makefile.in +++ b/gold/Makefile.in @@ -1012,9 +1012,10 @@ install-exec-local: ld-new$(EXEEXT) || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ fi; \ if test "x$(install_as_default)" = "xyes"; then \ - rm -f $(DESTDIR)$(bindir)/ld$(EXEEXT); \ - ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT) >/dev/null 2>/dev/null \ - || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT); \ + ld=`echo ld | sed '$(transform)'`; \ + rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ + ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \ + || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ if test "$(bindir)" != "$(tooldir)/bin"; then \ rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ -- cgit v1.1