diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 36378e2a7..af97338ed 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -23,7 +23,7 @@ pkgname=( 'iio-utils' ) pkgver=5.17 -pkgrel=1 +pkgrel=2 license=('GPL2') arch=('x86_64') url='https://www.kernel.org' @@ -87,6 +87,7 @@ build() { prefix=/usr \ lib=lib/perf \ perfexecdir=lib/perf \ + EXTRA_CFLAGS=' -Wno-error=bad-function-cast -Wno-error=declaration-after-statement -Wno-error=switch-enum' \ NO_SDT=1 \ WERROR=0 \ PYTHON=python \ @@ -179,6 +180,7 @@ package_perf() { prefix=/usr \ lib=lib/perf \ perfexecdir=lib/perf \ + EXTRA_CFLAGS=' -Wno-error=bad-function-cast -Wno-error=declaration-after-statement -Wno-error=switch-enum' \ NO_SDT=1 \ WERROR=0 \ PYTHON=python \