alarm/xf86-video-armada to 402.04748ff-2

This commit is contained in:
Kevin Mihelich 2018-05-27 14:31:54 +00:00
parent f552947afd
commit 2350bbebe3

View file

@ -5,7 +5,7 @@ buildarch=4
pkgname=xf86-video-armada
pkgver=402.04748ff
pkgrel=1
pkgrel=2
pkgdesc='X.org graphics driver for Marvell Armada DRM and Freescale i.MX'
arch=('armv7h')
url="http://git.arm.linux.org.uk/cgit/xf86-video-armada.git/"
@ -34,6 +34,14 @@ prepare() {
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}
./autogen.sh --prefix=/usr --disable-vivante --disable-etnaviv --with-etnaviv-source="${srcdir}/etna_viv"
make
}