[arch-commits] Commit in xf86-video-amdgpu/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Fri Aug 11 07:10:15 UTC 2017


    Date: Friday, August 11, 2017 @ 07:10:14
  Author: lcarlier
Revision: 301880

upgpkg: xf86-video-amdgpu 1.3.0-2

prevent FS#54845

Modified:
  xf86-video-amdgpu/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-11 07:04:17 UTC (rev 301879)
+++ PKGBUILD	2017-08-11 07:10:14 UTC (rev 301880)
@@ -3,7 +3,7 @@
 
 pkgname=xf86-video-amdgpu
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="X.org amdgpu video driver"
 arch=('i686' 'x86_64')
 url="https://xorg.freedesktop.org/"
@@ -20,6 +20,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 \
     --enable-glamor
   make



More information about the arch-commits mailing list