linux-tools: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:32 +02:00
parent 826378b296
commit 31db2e42d1
1 changed files with 4 additions and 1 deletions

View File

@ -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