diff --git a/srcpkgs/gperftools/template b/srcpkgs/gperftools/template index ce97f2df69d..5e6686c9cd0 100644 --- a/srcpkgs/gperftools/template +++ b/srcpkgs/gperftools/template @@ -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" } -} \ No newline at end of file +}