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

Laurent Carlier lcarlier at archlinux.org
Fri Aug 11 09:35:53 UTC 2017


    Date: Friday, August 11, 2017 @ 09:35:52
  Author: lcarlier
Revision: 301896

upgpkg: xf86-video-openchrome 0.6.0-2

prevent FS#54845

Modified:
  xf86-video-openchrome/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-11 09:28:57 UTC (rev 301895)
+++ PKGBUILD	2017-08-11 09:35:52 UTC (rev 301896)
@@ -7,7 +7,7 @@
 #_commit=8c819ed # 7 digits # = 0.6.0 RC1
 #pkgver=0.5.0+279+g8c819ed
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="X.Org Openchrome drivers"
 arch=(i686 x86_64)
 license=('custom')
@@ -42,6 +42,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