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 \