Skip to content

Commit 01e69cd

Browse files
authored
Merge pull request #608 from JDevlieghere/🍒/25cf941275edacd5199550fef638005f2ecfd35b
[lldb/CMake] Set LLVM_HOST_TRIPLE from TARGET_TRIPLE in standalone bu…
2 parents d20ae69 + 747d75e commit 01e69cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎lldb/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ if(TARGET clang)
116116
endif()
117117
endif()
118118

119+
if (LLDB_BUILT_STANDALONE)
120+
set(LLVM_HOST_TRIPLE ${TARGET_TRIPLE})
121+
endif()
122+
119123
add_lldb_test_dependency(
120124
lit-cpuid
121125
llc

0 commit comments

Comments
 (0)