mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
llvm-libunwind: update to 11.0.0
ssp_nonshared fix by q66
This commit is contained in:
parent
fa29b75e73
commit
ad1aaa3f84
1 changed files with 12 additions and 4 deletions
|
@ -1,18 +1,26 @@
|
||||||
# Template file for 'llvm-libunwind'
|
# Template file for 'llvm-libunwind'
|
||||||
pkgname=llvm-libunwind
|
pkgname=llvm-libunwind
|
||||||
version=10.0.0
|
version=11.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
wrksrc="libunwind-${version}.src"
|
wrksrc="libunwind-${version}.src"
|
||||||
hostmakedepends="llvm10"
|
hostmakedepends="llvm11"
|
||||||
makedepends="llvm10"
|
makedepends="llvm11"
|
||||||
make_build_args="VERBOSE=1"
|
make_build_args="VERBOSE=1"
|
||||||
short_desc="LLVM version of libunwind library"
|
short_desc="LLVM version of libunwind library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="NCSA, MIT"
|
license="NCSA, MIT"
|
||||||
homepage="https://llvm.org"
|
homepage="https://llvm.org"
|
||||||
distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/libunwind-${version}.src.tar.xz"
|
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() {
|
post_install() {
|
||||||
vmkdir usr/include
|
vmkdir usr/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue