alarm/xf86-video-armsoc-meson to 0.5-3

This commit is contained in:
Kevin Mihelich 2018-05-27 14:32:58 +00:00
parent d98c294331
commit 428c503b70

View file

@ -5,7 +5,7 @@ buildarch=8
pkgname=xf86-video-armsoc-meson
pkgver=0.5
pkgrel=2
pkgrel=3
pkgdesc="X.org Mali video driver for Meson platforms"
arch=('aarch64')
license=('MIT')
@ -20,6 +20,14 @@ sha256sums=('SKIP'
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}
LDFLAGS+=" -L/usr/lib/mali-egl"
./autogen.sh --prefix=/usr
make