alarm/xf86-video-omap to 0.4.5-3

This commit is contained in:
Kevin Mihelich 2018-05-27 14:36:22 +00:00
parent 4708600757
commit b164a2bfba

View file

@ -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