From b164a2bfbadd84e2c9b7dc47ac15cddb9e0d1a92 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 27 May 2018 14:36:22 +0000 Subject: [PATCH] alarm/xf86-video-omap to 0.4.5-3 --- alarm/xf86-video-omap/PKGBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/alarm/xf86-video-omap/PKGBUILD b/alarm/xf86-video-omap/PKGBUILD index dca38e23d..5f6564c45 100644 --- a/alarm/xf86-video-omap/PKGBUILD +++ b/alarm/xf86-video-omap/PKGBUILD @@ -6,7 +6,7 @@ buildarch=4 pkgname="xf86-video-omap" pkgver=0.4.5 -pkgrel=2 +pkgrel=3 pkgdesc="OMAP3+ framebuffer driver for X" arch=('armv7h') license=('GPL2') @@ -18,6 +18,14 @@ sha256sums=('a1c9d396892ac72b9b2d97ae75fba602786aaf4a5fbfb81b048476be52cd5dbf') build() { cd xf86-video-omap-${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} + ./autogen.sh ./configure --prefix=/usr