gperftools: unbreak on arm* and aarch64-musl

This commit is contained in:
maxice8 2018-09-01 04:07:46 -03:00
parent d0c249216f
commit eb02c0348d
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,4 +1,4 @@
# Template build file for 'gperftools'
# Template file for 'gperftools'
pkgname=gperftools
version=2.7
revision=1
@ -16,10 +16,9 @@ replaces="gperftools-devel>=0"
case "$XBPS_TARGET_MACHINE" in
arm*-musl|aarch64-musl)
makedepends=
makedepends="libucontext-devel"
LDFLAGS=" -lucontext"
configure_args="--disable-libunwind"
# benchmark/getcontext_light.cc:57: undefined reference to 'getcontext'
broken=https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3743/steps/shell_3/logs/stdio ;;
esac
post_extract() {
@ -41,4 +40,4 @@ gperftools-devel_package() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
}