llvm-libunwind: update to 11.0.0

ssp_nonshared fix by q66
This commit is contained in:
Robin Voetter 2020-11-08 18:28:52 +01:00 committed by q66
parent fa29b75e73
commit ad1aaa3f84
1 changed files with 12 additions and 4 deletions

View File

@ -1,18 +1,26 @@
# Template file for 'llvm-libunwind'
pkgname=llvm-libunwind
version=10.0.0
version=11.0.0
revision=1
build_style=cmake
wrksrc="libunwind-${version}.src"
hostmakedepends="llvm10"
makedepends="llvm10"
hostmakedepends="llvm11"
makedepends="llvm11"
make_build_args="VERBOSE=1"
short_desc="LLVM version of libunwind library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="NCSA, MIT"
homepage="https://llvm.org"
distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/libunwind-${version}.src.tar.xz"
checksum=09dc5ecc4714809ecf62908ae8fe8635ab476880455287036a2730966833c626
checksum=8455011c33b14abfe57b2fd9803fb610316b16d4c9818bec552287e2ba68922f
post_patch() {
case "$XBPS_TARGET_MACHINE" in
i686-musl|ppc-musl) ;;
*) return 0 ;;
esac
vsed -i 's,^# Setup flags.$,add_library_flags(ssp_nonshared),' src/CMakeLists.txt
}
post_install() {
vmkdir usr/include