diff options
author | graziano.giuliani | 2016-11-05 10:41:18 +0100 |
---|---|---|
committer | graziano.giuliani | 2016-11-05 10:41:18 +0100 |
commit | ccbf258b391a4175b05b34a5495a0e93608398e3 (patch) | |
tree | abe3566304ad8325b5b0b26dc4995fd463a08661 | |
parent | a2f55d70827a8495ab110b36286c982a0e26b34c (diff) | |
download | aur-ccbf258b391a4175b05b34a5495a0e93608398e3.tar.gz |
added PIC flag
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | wgrib2.patch | 4 |
3 files changed, 7 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Oct 9 10:27:39 UTC 2016 +# Sat Nov 5 09:41:02 UTC 2016 pkgbase = wgrib2 pkgdesc = A program to manipulate, inventory and decode GRIB-2 files pkgver = 2.0.5 - pkgrel = 1 + pkgrel = 2 url = http://www.cpc.noaa.gov/products/wesley/wgrib2/ arch = i686 arch = x86_64 @@ -19,7 +19,7 @@ pkgbase = wgrib2 source = ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2_nolib.tgz.v2.0.5 source = wgrib2.patch md5sums = 0b6f0e9d5dc1f0d1245cf37abcb25f02 - md5sums = 98e2810e5dea2210d97ce561ea3579a4 + md5sums = ff244fa30d9890e30fee4f9de9bfa7ae pkgname = wgrib2 @@ -3,7 +3,7 @@ pkgname=wgrib2 pkgver=2.0.5 -pkgrel=1 +pkgrel=2 pkgdesc="A program to manipulate, inventory and decode GRIB-2 files" arch=('i686' 'x86_64') url="http://www.cpc.noaa.gov/products/wesley/wgrib2/" @@ -13,7 +13,7 @@ makedepends=('g2clib' 'gctpc') source=(ftp://ftp.cpc.ncep.noaa.gov/wd51we/${pkgname}/${pkgname}_nolib.tgz.v${pkgver} wgrib2.patch) md5sums=('0b6f0e9d5dc1f0d1245cf37abcb25f02' - '98e2810e5dea2210d97ce561ea3579a4') + 'ff244fa30d9890e30fee4f9de9bfa7ae') build() { cd ${srcdir}/grib2 diff --git a/wgrib2.patch b/wgrib2.patch index 30843ff1d6a..f763e0f9416 100644 --- a/wgrib2.patch +++ b/wgrib2.patch @@ -45,7 +45,7 @@ ifeq ($(findstring gcc,$(notdir $(CC))),gcc) - wCPPFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security -ffast-math -O3 -+ wCPPFLAGS+=$(CPPFLAGS) -DGFORTRAN ++ wCPPFLAGS+=$(CPPFLAGS) -DGFORTRAN -fPIC netcdf3CPPFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security -O3 hdf5CFLAGS+=-Wall -Wmissing-prototypes -Wold-style-definition -O1 endif @@ -54,7 +54,7 @@ wLDFLAGS+=-lgfortran wCPPFLAGS+=-DGFORTRAN - wFFLAGS+=-O2 -+ wFFLAGS+=$(CFLAGS) ++ wFFLAGS+=$(CFLAGS) -fPIC endif # for open64 fortran - personal system |