diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template index 313125ff65e..ead8123db21 100644 --- a/srcpkgs/linux-tools/template +++ b/srcpkgs/linux-tools/template @@ -19,7 +19,7 @@ python_version=3 subpackages="cpupower libcpupower libcpupower-devel libusbip libusbip-devel usbip perf freefall tmon" -CFLAGS="-Wno-error" +CFLAGS="-Wno-error -fcommon" case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) makedepends+=" libnuma-devel" @@ -30,6 +30,9 @@ ppc64*) makedepends+=" libnuma-devel" ;; esac +case "$XBPS_TARGET_MACHINE" in +i686-musl) makedepends+=" libucontext-devel libunwind-devel" ;; +esac nocross=yes