libcxxabi: update to 8.0.0.
This commit is contained in:
parent
1bd1f056d7
commit
c4599134c7
1 changed files with 5 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libcxxabi'
|
# Template file for 'libcxxabi'
|
||||||
pkgname=libcxxabi
|
pkgname=libcxxabi
|
||||||
version=7.0.1
|
version=8.0.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname}-${version}.src"
|
wrksrc="${pkgname}-${version}.src"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -8,33 +8,21 @@ configure_args="-DLIBCXXABI_LIBCXX_INCLUDES=../libcxx/include
|
||||||
-DLIBCXXABI_USE_LLVM_UNWINDER=1
|
-DLIBCXXABI_USE_LLVM_UNWINDER=1
|
||||||
-DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}"
|
-DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}"
|
||||||
make_build_args="VERBOSE=1"
|
make_build_args="VERBOSE=1"
|
||||||
hostmakedepends="llvm7"
|
hostmakedepends="llvm8"
|
||||||
makedepends="llvm7 llvm-libunwind-devel"
|
makedepends="llvm8 llvm-libunwind-devel"
|
||||||
short_desc="Low-level support for libc++ standard library"
|
short_desc="Low-level support for libc++ standard library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="NCSA, MIT"
|
license="NCSA, MIT"
|
||||||
homepage="https://libcxxabi.llvm.org"
|
homepage="https://libcxxabi.llvm.org"
|
||||||
distfiles="https://www.llvm.org/releases/${version}/${pkgname}-${version}.src.tar.xz
|
distfiles="https://www.llvm.org/releases/${version}/${pkgname}-${version}.src.tar.xz
|
||||||
https://www.llvm.org/releases/${version}/libcxx-${version}.src.tar.xz"
|
https://www.llvm.org/releases/${version}/libcxx-${version}.src.tar.xz"
|
||||||
checksum="8168903a157ca7ab8423d3b974eaa497230b1564ceb57260be2bd14412e8ded8
|
checksum="c2d6de9629f7c072ac20ada776374e9e3168142f20a46cdb9d6df973922b07cd
|
||||||
020002618b319dc2a8ba1f2cba88b8cc6a209005ed8ad29f9de0c562c6ebb9f1"
|
c2902675e7c84324fb2c1e45489220f250ede016cc3117186785d9dc291f9de2"
|
||||||
|
|
||||||
# Aarch64 fails to build with gcc
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv[67]l)
|
armv[67]l)
|
||||||
broken="invalid operands of types 'char [8]' and 'const uint64_t' to binary 'operator&'"
|
broken="invalid operands of types 'char [8]' and 'const uint64_t' to binary 'operator&'"
|
||||||
;;
|
;;
|
||||||
aarch64*)
|
|
||||||
hostmakedepends+=" clang"
|
|
||||||
configure_args+=" -DLIBCXXABI_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET}"
|
|
||||||
pre_configure() {
|
|
||||||
export CC="clang"
|
|
||||||
export CXX="clang++"
|
|
||||||
|
|
||||||
CFLAGS+=" --target=${XBPS_CROSS_TRIPLET} --sysroot=${XBPS_CROSS_BASE}"
|
|
||||||
CXXFLAGS+=" --target=${XBPS_CROSS_TRIPLET} --sysroot=${XBPS_CROSS_BASE} -I$(ls -d ${XBPS_CROSS_BASE}/usr/include/c++/*/${XBPS_CROSS_TRIPLET} | head -n1)"
|
|
||||||
}
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue