[arch-commits] Commit in xf86-video-voodoo/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Fri Aug 11 09:49:48 UTC 2017
Date: Friday, August 11, 2017 @ 09:49:47
Author: lcarlier
Revision: 301904
upgpkg: xf86-video-voodoo 1.2.5-9
prevent FS#54845
Modified:
xf86-video-voodoo/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-11 09:45:26 UTC (rev 301903)
+++ PKGBUILD 2017-08-11 09:49:47 UTC (rev 301904)
@@ -3,7 +3,7 @@
pkgname=xf86-video-voodoo
pkgver=1.2.5
-pkgrel=8
+pkgrel=9
pkgdesc="X.org 3dfx Voodoo1/Voodoo2 2D video driver"
arch=(i686 x86_64)
url="https://xorg.freedesktop.org/"
@@ -23,6 +23,14 @@
build() {
cd ${pkgname}-${pkgver}
+
+ # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+ # With them, module fail to load with undefined symbol.
+ # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
+ export CFLAGS=${CFLAGS/-fno-plt}
+ export CXXFLAGS=${CXXFLAGS/-fno-plt}
+ export LDFLAGS=${LDFLAGS/,-z,now}
+
./configure --prefix=/usr
make
}
More information about the arch-commits
mailing list