gperftools: unbreak on arm* and aarch64-musl
This commit is contained in:
parent
d0c249216f
commit
eb02c0348d
1 changed files with 4 additions and 5 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue