summaryrefslogtreecommitdiff
path: root/libcxx/lib
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2022-02-15 22:59:08 -0800
committerPetr Hosek <phosek@google.com>2022-11-29 04:08:24 +0000
commitbec8a372fc0db95852748691c0f4933044026b25 (patch)
tree66a3bacd786b24f0edd41903173fed5b792d54aa /libcxx/lib
parenteb7e2998d135ac30198cb7e6709db3bdc155f2d0 (diff)
downloadllvm-bec8a372fc0db95852748691c0f4933044026b25.tar.gz
[CMake] Use LLVM_TARGET_TRIPLE in runtimes
This variable is derived from LLVM_DEFAULT_TARGET_TRIPLE by default, but using a separate variable allows additional normalization to be performed if needed. Differential Revision: https://reviews.llvm.org/D137451
Diffstat (limited to 'libcxx/lib')
-rw-r--r--libcxx/lib/abi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/lib/abi/CMakeLists.txt b/libcxx/lib/abi/CMakeLists.txt
index 7c08bd06c50b..a40794c54c3e 100644
--- a/libcxx/lib/abi/CMakeLists.txt
+++ b/libcxx/lib/abi/CMakeLists.txt
@@ -43,7 +43,7 @@ endfunction()
if (CMAKE_CXX_COMPILER_TARGET)
set(triple "${CMAKE_CXX_COMPILER_TARGET}")
else()
- set(triple "${LLVM_DEFAULT_TARGET_TRIPLE}")
+ set(triple "${LLVM_TARGET_TRIPLE}")
endif()
cxx_abi_list_identifier(abi_list_identifier
"${triple}"