aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index cc6bced..bc12549 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libgamma
pkgver=0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://github.com/maandree/libgamma"
@@ -17,6 +17,9 @@ sha256sums=(ef171360e4a945b607ef3fa1830630088bad162e47ea83ff990cae83c5331529)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --linux
+ LDFLAGS=${LDFLAGS/--as-needed/}
+ LDFLAGS=${LDFLAGS/,,/,}
+ export LDFLAGS
make PREFIX=/usr lib info
}