From fedc73875b12670fbec4cff82a21922e78719dc3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 12 Sep 2024 18:46:35 +0000 Subject: [PATCH] extra/netcdf: v7 fix --- extra/netcdf/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD index 9314ae5e2..a1bbd1063 100644 --- a/extra/netcdf/PKGBUILD +++ b/extra/netcdf/PKGBUILD @@ -4,6 +4,7 @@ # ALARM: Kevin Mihelich # - disable CDFS for 32-bit ARM +# - set -Wno-incompatible-pointer-types in CFLAGS pkgname=netcdf pkgver=4.9.2 @@ -27,6 +28,7 @@ prepare() { build() { [[ $CARCH != "aarch64" ]] && CDFS="OFF" || CDFS="ON" + CFLAGS+=" -Wno-incompatible-pointer-types" cmake -B build -S ${pkgname}-c-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \