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 | 5a600a972e101c67650aa527ebfef0d8515a137d (patch) | |
tree | b5fbe9793c5f89b781db3052b4c3af66e34b1da5 /llvm/tools | |
parent | ce02486d160e549559a468e2a3f4ed1eb01a02dc (diff) | |
download | bcm5719-llvm-5a600a972e101c67650aa527ebfef0d8515a137d.tar.gz bcm5719-llvm-5a600a972e101c67650aa527ebfef0d8515a137d.zip |
llvm-config: Use build_mode instead of LLVM_BUILDMODE. It should be equivalent in MakefileStyle.
llvm-svn: 197817
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvm-config/llvm-config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp index 2bd11370a9d..452f78f6af1 100644 --- a/llvm/tools/llvm-config/llvm-config.cpp +++ b/llvm/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"; |