summaryrefslogtreecommitdiff
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-12-20 17:35:52 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-12-20 17:35:52 +0000
commit7c0eb96c8a0609d74c8df5c8bf68aa1a24f87bfa (patch)
treeacc6cf1df8627bddf7947a8b82bc2deaaa6b3e64 /tools/llvm-config
parent247ea104f15300cdc8641d17d9417fb9b247efc7 (diff)
llvm-config: Show OBJROOT rather than OBJROOT/BUILD_MODE in MakefileStyle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/llvm-config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp
index 452f78f6af1..2ee1da63128 100644
--- a/tools/llvm-config/llvm-config.cpp
+++ b/tools/llvm-config/llvm-config.cpp
@@ -240,6 +240,7 @@ int main(int argc, char **argv) {
// layout.
switch (DevelopmentTreeLayout) {
case MakefileStyle:
+ ActivePrefix = ActiveObjRoot;
ActiveBinDir = ActiveObjRoot + "/" + build_mode + "/bin";
ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib";
break;