From cd3004641ed882e2fe3e9cc435677b1d83c7a116 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Fri, 11 Sep 2020 08:32:22 -0400 Subject: [PATCH] sysdig: upstream added musl support Will be active in the next release upstream commits: https://github.com/draios/sysdig/pull/1682 73554b9c48b06612eb50494ee6fa5b779c57edc0 --- srcpkgs/sysdig/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sysdig/template b/srcpkgs/sysdig/template index ce4a214c03f..50e515a71ec 100644 --- a/srcpkgs/sysdig/template +++ b/srcpkgs/sysdig/template @@ -2,7 +2,7 @@ pkgname=sysdig version=0.27.0 revision=2 -archs="i686 x86_64 ppc64le" +archs="i686* x86_64* ppc64le*" build_style=cmake configure_args="-DSYSDIG_VERSION=${version} -DUSE_BUNDLED_DEPS=OFF -DUSE_BUNDLED_B64=ON -DUSE_BUNDLED_JQ=ON -DBUILD_DRIVER=OFF @@ -24,6 +24,10 @@ disable_parallel_build=yes dkms_modules="sysdig ${version}" nocross=yes +case "$XBPS_TARGET_MACHINE" in + *-musl) configure_args+=" -DMUSL_OPTIMIZED_BUILD=On" +esac + # Avoid excessive warnings spam to the log CXXFLAGS="-Wno-deprecated-declarations" @@ -40,3 +44,6 @@ post_install() { vlicense COPYING vlicense NOTICES } + +# REMARKS: +# Is there a reason no arm?