[arch-commits] Commit in xf86-video-qxl/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Fri Aug 11 09:53:38 UTC 2017
Date: Friday, August 11, 2017 @ 09:53:37
Author: lcarlier
Revision: 249817
upgpkg: xf86-video-qxl 0.1.5-4
prevent FS#54845
Modified:
xf86-video-qxl/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-11 08:52:55 UTC (rev 249816)
+++ PKGBUILD 2017-08-11 09:53:37 UTC (rev 249817)
@@ -5,7 +5,7 @@
pkgname=xf86-video-qxl
pkgver=0.1.5
-pkgrel=3
+pkgrel=4
pkgdesc='Xorg X11 qxl video driver'
arch=('x86_64' 'i686')
url='http://www.x.org'
@@ -34,6 +34,13 @@
build() {
cd "${srcdir}/${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}
+
autoreconf -fi
./configure \
--enable-xspice \
More information about the arch-commits
mailing list