libcxx: don't use libcxxabi on arm.
This commit is contained in:
parent
d283ea9a6d
commit
0c8a982651
1 changed files with 10 additions and 4 deletions
|
@ -1,15 +1,21 @@
|
|||
# Template file for 'libcxx'
|
||||
pkgname=libcxx
|
||||
version=3.8.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake"
|
||||
configure_args="-DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*)
|
||||
# libcxxabi doesn't build on arm.
|
||||
;;
|
||||
*)
|
||||
configure_args+=" -DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON"
|
||||
makedepends="llvm-libunwind-devel libcxxabi-devel"
|
||||
LDFLAGS="-Wl,--no-as-needed -lunwind -Wl,--as-needed"
|
||||
esac
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) configure_args+=" -DLIBCXX_HAS_MUSL_LIBC=YES"
|
||||
esac
|
||||
makedepends="llvm-libunwind-devel libcxxabi-devel"
|
||||
LDFLAGS="-Wl,--no-as-needed -lunwind -Wl,--as-needed"
|
||||
make_build_args="VERBOSE=1"
|
||||
short_desc="New implementation of the C++ standard library, targeting C++11"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
|
Loading…
Reference in a new issue