summaryrefslogtreecommitdiff
path: root/libcxx/lib
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-07-14 15:54:13 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-07-16 10:33:39 -0400
commit395271ad11b8c233db1a4e0e6a76aa52e93e5aec (patch)
treeb5a21d40e3774b38b804e3f1993149aef877958d /libcxx/lib
parentba627a32e125cab988f97da8e2466398f2bc75b2 (diff)
downloadllvm-395271ad11b8c233db1a4e0e6a76aa52e93e5aec.tar.gz
[runtimes] Simplify how we set the target triple
Instead of using TARGET_TRIPLE, which is always set to LLVM_DEFAULT_TARGET_TRIPLE, use that variable directly to populate the various XXXX_TARGET_TRIPLE variables in the runtimes. This re-applies 77396bbc98 and 5099e01568, which were reverted in 850b57c5fbe because they broke the build. Differential Revision: https://reviews.llvm.org/D106009
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 3d19c0bd16f2..c406330426d0 100644
--- a/libcxx/lib/abi/CMakeLists.txt
+++ b/libcxx/lib/abi/CMakeLists.txt
@@ -41,7 +41,7 @@ function(cxx_abi_list_identifier result triple abi_library abi_version unstable
endfunction()
cxx_abi_list_identifier(abi_list_identifier
- "${TARGET_TRIPLE}"
+ "${LIBCXX_TARGET_TRIPLE}"
"${LIBCXX_CXX_ABI_LIBNAME}"
"${LIBCXX_ABI_VERSION}"
"${LIBCXX_ABI_UNSTABLE}"