Date: Friday, August 11, 2017 @ 07:12:51 Author: lcarlier Revision: 301882
upgpkg: xf86-video-intel 1:2.99.917+779+g2100efa1-2 fix FS#55102, FS#54845 Modified: xf86-video-intel/trunk/PKGBUILD ----------+ PKGBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-11 07:10:21 UTC (rev 301881) +++ PKGBUILD 2017-08-11 07:12:51 UTC (rev 301882) @@ -5,7 +5,7 @@ pkgname=xf86-video-intel _commit=2100efa105e8c9615eda867d39471d78e500b1bb # master pkgver=2.99.917+779+g2100efa1 -pkgrel=1 +pkgrel=2 epoch=1 arch=(i686 x86_64) url="https://01.org/linuxgraphics" @@ -43,6 +43,14 @@ build() { cd $pkgname + + # 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 \ --libexecdir=/usr/lib \ --with-default-dri=3