summaryrefslogtreecommitdiff
path: root/Makefile.rules
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 /Makefile.rules
parent7744345a71ccf88ab19373e740a0732e234b34bb (diff)
downloadllvm-92080529a05e223303a75d83008f804fd518aba7.tar.gz
llvm-92080529a05e223303a75d83008f804fd518aba7.tar.bz2
llvm-92080529a05e223303a75d83008f804fd518aba7.tar.xz
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 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 289adc2be4..f74c6f5ada 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1541,7 +1541,7 @@ ToolBinDir = $(DESTDIR)$(PROJ_internal_prefix)/bin
else
ToolBinDir = $(DESTDIR)$(PROJ_bindir)
endif
-DestTool = $(ToolBinDir)/$(TOOLEXENAME)
+DestTool = $(ToolBinDir)/$(program_prefix)$(TOOLEXENAME)
install-local:: $(DestTool)
@@ -1556,7 +1556,7 @@ uninstall-local::
# TOOLALIAS install.
ifdef TOOLALIAS
-DestToolAlias = $(ToolBinDir)/$(TOOLALIAS)$(EXEEXT)
+DestToolAlias = $(ToolBinDir)/$(program_prefix)$(TOOLALIAS)$(EXEEXT)
install-local:: $(DestToolAlias)