alarm/xf86-video-odroid-c1 to 0.5-9

This commit is contained in:
Kevin Mihelich 2018-05-27 14:35:47 +00:00
parent 628060fffe
commit e4091cb8a8

View file

@ -5,7 +5,7 @@ buildarch=4
pkgname=xf86-video-odroid-c1
pkgver=0.5
pkgrel=8
pkgrel=9
pkgdesc="X.org Mali video driver for ODROID-C1"
arch=(armv7h)
license=('custom')
@ -18,6 +18,14 @@ sha256sums=('SKIP')
build() {
cd c1_mali_ddx
# 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}
LDFLAGS+=" -L/usr/lib/mali-egl"
./configure --prefix=/usr
make