diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-20 17:35:46 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-20 17:35:46 +0000 |
commit | 247ea104f15300cdc8641d17d9417fb9b247efc7 (patch) | |
tree | 2f5e0c3b882811a915a58d50638a528906cdec50 /tools/llvm-config | |
parent | 1ef2ca69942ca351d744d2e5d8607d8004f13d8f (diff) | |
download | llvm-247ea104f15300cdc8641d17d9417fb9b247efc7.tar.gz llvm-247ea104f15300cdc8641d17d9417fb9b247efc7.tar.bz2 llvm-247ea104f15300cdc8641d17d9417fb9b247efc7.tar.xz |
llvm-config: Use build_mode instead of LLVM_BUILDMODE. It should be equivalent in MakefileStyle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r-- | tools/llvm-config/llvm-config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp index 2bd11370a9..452f78f6af 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -202,7 +202,7 @@ int main(int argc, char **argv) { // Check to see if we are inside a development tree by comparing to possible // locations (prefix style or CMake style). if (sys::fs::equivalent(CurrentExecPrefix, - Twine(LLVM_OBJ_ROOT) + "/" + LLVM_BUILDMODE)) { + Twine(LLVM_OBJ_ROOT) + "/" + build_mode)) { IsInDevelopmentTree = true; DevelopmentTreeLayout = MakefileStyle; @@ -240,8 +240,8 @@ int main(int argc, char **argv) { // layout. switch (DevelopmentTreeLayout) { case MakefileStyle: - ActiveBinDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/bin"; - ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib"; + ActiveBinDir = ActiveObjRoot + "/" + build_mode + "/bin"; + ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib"; break; case CMakeStyle: ActiveBinDir = ActiveObjRoot + "/bin"; |