diff options
author | Petr Hosek <phosek@google.com> | 2022-02-15 22:59:08 -0800 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2022-11-29 04:08:24 +0000 |
commit | bec8a372fc0db95852748691c0f4933044026b25 (patch) | |
tree | 66a3bacd786b24f0edd41903173fed5b792d54aa /libcxx/lib | |
parent | eb7e2998d135ac30198cb7e6709db3bdc155f2d0 (diff) | |
download | llvm-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.txt | 2 |
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}" |