aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-config
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 /tools/llvm-config
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 'tools/llvm-config')
-rw-r--r--tools/llvm-config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
index e8c8692..b20b6bf 100644
--- a/tools/llvm-config/Makefile
+++ b/tools/llvm-config/Makefile
@@ -63,5 +63,5 @@ ifeq ($(LLVM_CROSS_COMPILING),1)
install:: $(DESTDIR)$(PROJ_bindir)
$(Echo) Installing llvm-config-host
$(Verb) $(ProgInstall) $(BuildLLVMToolDir)/llvm-config \
- $(DESTDIR)$(PROJ_bindir)/llvm-config-host
+ $(DESTDIR)$(PROJ_bindir)/$(program_prefix)llvm-config-host
endif