Skip to content

Commit e80e252

Browse files
authored
Statically link libc++abi into libc++ (#483)
This will prevent C++ links from breaking when llvm/llvm-project#101259 lands, as that removes -lc++abi and -lunwind from the linker command-line.
1 parent ceabe73 commit e80e252

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ function(
12011201
-DLIBCXXABI_TEST_PARAMS=executor=${test_executor}
12021202
-DLIBCXX_ABI_UNSTABLE=ON
12031203
-DLIBCXX_CXX_ABI=libcxxabi
1204+
-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
12041205
-DLIBCXX_ENABLE_FILESYSTEM=OFF
12051206
-DLIBCXX_ENABLE_SHARED=OFF
12061207
-DLIBCXX_ENABLE_STATIC=ON

0 commit comments

Comments
 (0)