git: c6c4482d77ec - main - devel/wasi-libcxx: explicitly disable LIBCXXABI_USE_LLVM_UNWINDER

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 18:57:32 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6c4482d77ec63006b47ba286a103128c6b8b7f7

commit c6c4482d77ec63006b47ba286a103128c6b8b7f7
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-03-27 18:52:08 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-03-27 18:57:23 +0000

    devel/wasi-libcxx: explicitly disable LIBCXXABI_USE_LLVM_UNWINDER
    
    LLVM 18 enables this by default, which is not wanted here. This is
    effectively a no-op for other LLVM versions.
    
    Context: https://github.com/WebAssembly/wasi-sdk/pull/377
---
 devel/wasi-libcxx/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/wasi-libcxx/Makefile b/devel/wasi-libcxx/Makefile
index afd2d0ff4fea..c32a1afe9edc 100644
--- a/devel/wasi-libcxx/Makefile
+++ b/devel/wasi-libcxx/Makefile
@@ -79,6 +79,7 @@ CMAKE_ARGS=	-DCMAKE_AR=${LOCALBASE}/bin/llvm-ar${LLVM_VERSION} \
 		-DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \
 		-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \
 		-DLIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \
+		-DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF \
 		-DUNIX:BOOL=ON \
 		-DCMAKE_SYSROOT=${WASI_SYSROOT} \
 		-DLIBCXX_LIBDIR_SUFFIX=/${TRIPLE} \