aboutsummaryrefslogtreecommitdiff
path: root/llvm/projects
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-09-25 21:15:08 +0000
committerSebastian Pop <spop@codeaurora.org>2012-09-25 21:15:08 +0000
commit17e118b79c75497557a9ecaad3f7f5e21ca2d9e9 (patch)
tree7fa83f644debdfd735ba5876710071a97ebdc05c /llvm/projects
parente51b9497f721557d15ab36a27ca257493ed36713 (diff)
downloadllvm-17e118b79c75497557a9ecaad3f7f5e21ca2d9e9.zip
llvm-17e118b79c75497557a9ecaad3f7f5e21ca2d9e9.tar.gz
llvm-17e118b79c75497557a9ecaad3f7f5e21ca2d9e9.tar.bz2
Add --program-prefix support to build
llvm-svn: 164633
Diffstat (limited to 'llvm/projects')
-rw-r--r--llvm/projects/sample/Makefile.llvm.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/projects/sample/Makefile.llvm.rules b/llvm/projects/sample/Makefile.llvm.rules
index a655302..7ed1c1b 100644
--- a/llvm/projects/sample/Makefile.llvm.rules
+++ b/llvm/projects/sample/Makefile.llvm.rules
@@ -1437,7 +1437,7 @@ install-local::
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestTool = $(DESTDIR)$(PROJ_bindir)/$(TOOLEXENAME)
+DestTool = $(DESTDIR)$(PROJ_bindir)/$(program_prefix)$(TOOLEXENAME)
install-local:: $(DestTool)
@@ -1451,7 +1451,7 @@ uninstall-local::
# TOOLALIAS install.
ifdef TOOLALIAS
-DestToolAlias = $(DESTDIR)$(PROJ_bindir)/$(TOOLALIAS)$(EXEEXT)
+DestToolAlias = $(DESTDIR)$(PROJ_bindir)/$(program_prefix)$(TOOLALIAS)$(EXEEXT)
install-local:: $(DestToolAlias)