libgloss: cris: respect DESTDIR when installing

This commit is contained in:
Michael Frysinger 2012-03-24 03:38:28 +00:00
parent d8a7ac6d18
commit cff00a2038
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-03-23 Mike Frysinger <vapier@gentoo.org>
* cris/Makefile.in (install-lin): Add $(DESTDIR) before ${tooldir}.
2012-03-12 Mike Frysinger <vapier@gentoo.org>
* libnosys/Makefile.in (NEWLIB_CFLAGS, NEWLIB_LDFLAGS,

View File

@ -228,7 +228,7 @@ install-lin:
*) \
set -e; \
for x in ${LIN_BSP} ${LIN_SCRIPTS} ${LIN_EXTRA}; do \
${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; \
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
done;; \
esac