summaryrefslogtreecommitdiff
path: root/community/gdal/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gdal/PKGBUILD')
-rw-r--r--community/gdal/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD
index 4c55ed8f9..88756643b 100644
--- a/community/gdal/PKGBUILD
+++ b/community/gdal/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 46467 2011-05-07 14:58:14Z tdziedzic $
+# $Id: PKGBUILD 50951 2011-07-03 10:32:28Z jelle $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gdal
pkgver=1.8.0
-pkgrel=4
+pkgrel=5
pkgdesc="A translator library for raster geospatial data formats"
arch=('i686' 'x86_64')
url="http://www.gdal.org/"
@@ -27,6 +27,9 @@ md5sums=('c762cdab0f7e51a677ba49278a8a263d' '81afc1c26d29cee84aadb6924fe33861')
build() {
export CFLAGS="$CFLAGS -fno-strict-aliasing"
+ # bug 23654
+ export LDFLAGS="$LDFLAGS -Wl,--as-needed"
+
cd ${srcdir}/$pkgname-$pkgver
patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch