mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-20 10:30:03 +00:00
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
This commit is contained in:
parent
1ef2ca6994
commit
247ea104f1
@ -202,7 +202,7 @@ int main(int argc, char **argv) {
|
|||||||
// Check to see if we are inside a development tree by comparing to possible
|
// Check to see if we are inside a development tree by comparing to possible
|
||||||
// locations (prefix style or CMake style).
|
// locations (prefix style or CMake style).
|
||||||
if (sys::fs::equivalent(CurrentExecPrefix,
|
if (sys::fs::equivalent(CurrentExecPrefix,
|
||||||
Twine(LLVM_OBJ_ROOT) + "/" + LLVM_BUILDMODE)) {
|
Twine(LLVM_OBJ_ROOT) + "/" + build_mode)) {
|
||||||
IsInDevelopmentTree = true;
|
IsInDevelopmentTree = true;
|
||||||
DevelopmentTreeLayout = MakefileStyle;
|
DevelopmentTreeLayout = MakefileStyle;
|
||||||
|
|
||||||
@ -240,8 +240,8 @@ int main(int argc, char **argv) {
|
|||||||
// layout.
|
// layout.
|
||||||
switch (DevelopmentTreeLayout) {
|
switch (DevelopmentTreeLayout) {
|
||||||
case MakefileStyle:
|
case MakefileStyle:
|
||||||
ActiveBinDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/bin";
|
ActiveBinDir = ActiveObjRoot + "/" + build_mode + "/bin";
|
||||||
ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib";
|
ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib";
|
||||||
break;
|
break;
|
||||||
case CMakeStyle:
|
case CMakeStyle:
|
||||||
ActiveBinDir = ActiveObjRoot + "/bin";
|
ActiveBinDir = ActiveObjRoot + "/bin";
|
||||||
|
Loading…
Reference in New Issue
Block a user