libcxxabi: update to 3.9.0.

This commit is contained in:
Christian Neukirchen 2016-09-02 23:43:56 +02:00
parent 05a2ae22d5
commit c043a7c26d
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'libcxxiabi'
pkgname=libcxxabi
version=3.8.1
version=3.9.0
revision=1
wrksrc="${pkgname}-${version}.src"
build_style=cmake
@ -15,8 +15,8 @@ homepage="http://libcxxabi.llvm.org"
license="BSD"
distfiles="http://www.llvm.org/releases/${version}/${pkgname}-${version}.src.tar.xz
http://www.llvm.org/releases/${version}/libcxx-${version}.src.tar.xz"
checksum="e1b55f7be3fad746bdd3025f43e42d429fb6194aac5919c2be17c4a06314dae1
77d7f3784c88096d785bd705fa1bab7031ce184cd91ba8a7008abf55264eeecc"
checksum="b037a92717856882e05df57221e087d7d595a2ae9f170f7bc1a23ec7a92c8019
d0b38d51365c6322f5666a2a8105785f2e114430858de4c25a86b49f227f5b06"
case "$XBPS_TARGET_MACHINE" in
arm*) broken="Wierd EHABI defines break it"
@ -26,6 +26,8 @@ post_extract() {
# Break dependency cycle, we just need the headers here
mv ../libcxx-${version}.src libcxx
sed -i 's,share/llvm/cmake,lib/cmake/llvm,g' CMakeLists.txt
# For musl
sed -i 's/!defined(_GCC_MAX_ALIGN_T)/& \&\& !defined(__DEFINED_max_align_t)/' libcxx/include/stddef.h
}