mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/netcdf: v7 fix
This commit is contained in:
parent
dcd5be1ce1
commit
fedc73875b
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue