diff options
author | Leonard Chan <leonardchan@google.com> | 2022-12-05 22:20:51 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2022-12-05 22:20:51 +0000 |
commit | 96d63993dd3698bbf2d6a83c035cd05faed7317b (patch) | |
tree | e87abddc6600d52883e80015a0cb0c64744a9790 /libcxxabi/test | |
parent | 7358c29a42714eb8d7d7bcdb58688d20430689e4 (diff) | |
download | llvm-96d63993dd3698bbf2d6a83c035cd05faed7317b.tar.gz |
Revert "[CMake] Use LLVM_TARGET_TRIPLE in runtimes"
This reverts commit bec8a372fc0db95852748691c0f4933044026b25.
This causes many of these errors to appear when rebuilding runtimes part
of fuchsia's toolchain:
ld.lld: error:
/usr/local/google/home/paulkirth/llvm-upstream/build/lib/x86_64-unknown-linux-gnu/libunwind.a(libunwind.cpp.o)
is incompatible with elf64-x86-64
This can be reproduced by making a complete toolchain, saving any source
file with no changes, then rerunning ninja distribution.
Diffstat (limited to 'libcxxabi/test')
-rw-r--r-- | libcxxabi/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt index 3d16fcbec3ca..5da584a2c9cf 100644 --- a/libcxxabi/test/CMakeLists.txt +++ b/libcxxabi/test/CMakeLists.txt @@ -50,7 +50,7 @@ endif() if (CMAKE_CXX_COMPILER_TARGET) serialize_lit_param(target_triple "\"${CMAKE_CXX_COMPILER_TARGET}\"") else() - serialize_lit_param(target_triple "\"${LLVM_TARGET_TRIPLE}\"") + serialize_lit_param(target_triple "\"${LLVM_DEFAULT_TARGET_TRIPLE}\"") endif() foreach(param IN LISTS LIBCXXABI_TEST_PARAMS) |