[arch-commits] Commit in xf86-video-ati/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Fri Aug 11 08:33:09 UTC 2017
Date: Friday, August 11, 2017 @ 08:33:09
Author: lcarlier
Revision: 301888
upgpkg: xf86-video-ati 1:7.9.0-2
prevent FS#54845
Modified:
xf86-video-ati/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-11 07:43:56 UTC (rev 301887)
+++ PKGBUILD 2017-08-11 08:33:09 UTC (rev 301888)
@@ -4,8 +4,8 @@
pkgname=xf86-video-ati
pkgver=7.9.0
+pkgrel=2
epoch=1
-pkgrel=1
pkgdesc="X.org ati video driver"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
@@ -22,6 +22,13 @@
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 \
--with-glamor
make
More information about the arch-commits
mailing list