summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-10 21:27:53 +0000
committerChris Lattner <sabre@nondot.org>2010-03-10 21:27:53 +0000
commit97d7b1007abc8eb264dc82f07998d9e101f1d0b1 (patch)
tree27d4d355cd5e267478abc1e2f6569a1fc1c1de33 /Makefile.rules
parent8f78e3c87d462e71ddcd3d4f53446b902cc5c593 (diff)
downloadllvm-97d7b1007abc8eb264dc82f07998d9e101f1d0b1.tar.gz
llvm-97d7b1007abc8eb264dc82f07998d9e101f1d0b1.tar.bz2
llvm-97d7b1007abc8eb264dc82f07998d9e101f1d0b1.tar.xz
add DESTDIR support for TOOLALIAS, for PR6557, patch by
Matthias Klose! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index fcddd50c3a..20e642a450 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1329,7 +1329,7 @@ uninstall-local::
# TOOLALIAS install.
ifdef TOOLALIAS
-DestToolAlias = $(PROJ_bindir)/$(TOOLALIAS)$(EXEEXT)
+DestToolAlias = $(DESTDIR)$(PROJ_bindir)/$(TOOLALIAS)$(EXEEXT)
install-local:: $(DestToolAlias)