Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds

This commit is contained in:
Sylvestre Ledru 2024-01-19 14:58:47 +01:00
parent de19e367c2
commit 49ab7c1cb2
2 changed files with 3 additions and 1 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ llvm-toolchain-snapshot (1:18~++20231211102647+75193b192ad9-1~exp2) experimental
* For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind
https://github.com/llvm/llvm-project/issues/77846
* remove the unconditionnaly defined -DLIBUNWIND_USE_COMPILER_RT=ON
* Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 12 Jan 2024 18:33:31 +0100

3
debian/rules vendored
View File

@ -1006,7 +1006,8 @@ build-wasm/libcxx-%-wasi: build-wasm/compiler-rt-%
-DLIBCXXABI_ENABLE_THREADS:BOOL=OFF \
-DLIBCXXABI_HAS_PTHREAD_API:BOOL=OFF \
-DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \
-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF
-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \
-DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF
ninja -C "$@" -j $(NJOBS) $(VERBOSE)
endif