projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974dbe1
)
llvm-config: Show build root instead of parent path in build tree with --obj-root...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 19 Dec 2013 16:02:23 +0000
(16:02 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 19 Dec 2013 16:02:23 +0000
(16:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197683
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-config/llvm-config.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-config/llvm-config.cpp
b/tools/llvm-config/llvm-config.cpp
index 546963d833f0a344e6b64df7ae64e42f5b7a3151..fa568e67270dbee014b3e3978f142bcc8cd6f994 100644
(file)
--- a/
tools/llvm-config/llvm-config.cpp
+++ b/
tools/llvm-config/llvm-config.cpp
@@
-248,6
+248,7
@@
int main(int argc, char **argv) {
ActiveLibDir = ActiveObjRoot + "/lib";
break;
case CMakeBuildModeStyle:
+ ActivePrefix = ActiveObjRoot;
ActiveBinDir = ActiveObjRoot + "/bin/" + build_mode;
ActiveLibDir = ActiveObjRoot + "/lib/" + build_mode;
break;