Skip to content

Commit 00be594

Browse files
committed
libc++: enable frame apis in libunwind.
The bootstrapping hack used by the rust package on clang subsystems (namely, substituting compiler-rt and libunwind for libgcc and using the official gcc-based binaries to bootstrap) attempts to link to __register_frame_info and __deregister_frame_info on i686. Enabling this option brings them back.
1 parent 1eb074e commit 00be594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mingw-w64-libc++/PKGBUILD

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ _version=18.1.2
1212
_rc=""
1313
_tag=llvmorg-${_version}${_rc}
1414
pkgver=${_version}${_rc/-/}
15-
pkgrel=1
15+
pkgrel=2
1616
arch=(any)
1717
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
1818
url="https://libcxx.llvm.org/"
@@ -119,6 +119,7 @@ build() {
119119
-DLIBCXXABI_ENABLE_SHARED=OFF \
120120
-DLIBCXXABI_ENABLE_STATIC=ON \
121121
-DLIBCXXABI_HAS_WIN32_THREAD_API=ON \
122+
-DLIBUNWIND_ENABLE_FRAME_APIS=ON \
122123
-DLIBUNWIND_ENABLE_SHARED=ON \
123124
-DLIBUNWIND_ENABLE_STATIC=ON \
124125
"${_extra_config[@]}" \

0 commit comments

Comments
 (0)