aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitba48ceb1a3802e20e781ef04ea2573ffae2ac414 (patch)
treedf200ad0a959967ae2259f0fbf9a7d9fa7bccbe7 /projects
parent2039a8f83464e900a71f3e846c7749b2d0d8cde2 (diff)
downloadexternal_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.zip
external_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.tar.gz
external_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.tar.bz2
Add --program-prefix support to build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/sample/Makefile.llvm.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/sample/Makefile.llvm.rules b/projects/sample/Makefile.llvm.rules
index a655302..7ed1c1b 100644
--- a/projects/sample/Makefile.llvm.rules
+++ b/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)