extra/netcdf: v7 fix

This commit is contained in:
Kevin Mihelich 2024-09-12 18:46:35 +00:00
parent dcd5be1ce1
commit fedc73875b

View file

@ -4,6 +4,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable CDFS for 32-bit ARM # - disable CDFS for 32-bit ARM
# - set -Wno-incompatible-pointer-types in CFLAGS
pkgname=netcdf pkgname=netcdf
pkgver=4.9.2 pkgver=4.9.2
@ -27,6 +28,7 @@ prepare() {
build() { build() {
[[ $CARCH != "aarch64" ]] && CDFS="OFF" || CDFS="ON" [[ $CARCH != "aarch64" ]] && CDFS="OFF" || CDFS="ON"
CFLAGS+=" -Wno-incompatible-pointer-types"
cmake -B build -S ${pkgname}-c-${pkgver} \ cmake -B build -S ${pkgname}-c-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \