summaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-10-01 18:40:32 +0000
committerJordan Rose <jordan_rose@apple.com>2012-10-01 18:40:32 +0000
commit92080529a05e223303a75d83008f804fd518aba7 (patch)
treea55d8eb8e049bc49c080e184ae35de4b7487b923 /projects
parent7744345a71ccf88ab19373e740a0732e234b34bb (diff)
downloadexternal_llvm-92080529a05e223303a75d83008f804fd518aba7.zip
external_llvm-92080529a05e223303a75d83008f804fd518aba7.tar.gz
external_llvm-92080529a05e223303a75d83008f804fd518aba7.tar.bz2
Re-enable support for --program-prefix.
The Apple buildbots have been modified not to pass --target, so they shouldn't choke on a default program prefix anymore. Patch by Rick Foos! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164956 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)