diff options
author | Gabriel Chamon Araujo | 2021-05-24 22:07:31 -0300 |
---|---|---|
committer | Gabriel Chamon Araujo | 2021-05-24 22:07:31 -0300 |
commit | 63b96966b3bf8653a74eab06f30313b772a8e639 (patch) | |
tree | c14b8410d3ae2966d66479a781d7c8212ffd49e4 /PKGBUILD | |
parent | 74d1afd855a53b03b26d4852c6ec84087e6756dc (diff) | |
download | aur-emos.tar.gz |
adding necessary fortran tags for cmake compilation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Contributor: Graziano Giuliani <graziano.giuliani@gmail.com> pkgname=emos pkgver=4.5.9 -pkgrel=2 +pkgrel=3 pkgdesc="ECMWF Interpolation Library" arch=(i686 x86_64) url="https://software.ecmwf.int/wiki/display/EMOS/Emoslib" @@ -20,7 +20,8 @@ build() { cd build cmake -DENABLE_ECCODES=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=production .. + -DCMAKE_BUILD_TYPE=production \ + -DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch .. find . -name link.txt -exec sed -i {} \ -e 's/-lfftw3/-lfftw3 -leccodes/' \ -e 's!/usr/lib/libfftw3.so!/usr/lib/libfftw3.so -leccodes!' \; |