alarm/xf86-video-odroid-c2 to 0.5-5

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

View file

@ -5,7 +5,7 @@ buildarch=8
pkgname=xf86-video-odroid-c2
pkgver=0.5
pkgrel=4
pkgrel=5
pkgdesc="X.org Mali video driver for ODROID-C2"
arch=('aarch64')
license=('custom')
@ -18,6 +18,14 @@ sha256sums=('SKIP')
build() {
cd c2_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