alarm/xf86-video-armsoc-git to 258.8bbdb2a-3

This commit is contained in:
Kevin Mihelich 2018-05-27 14:32:33 +00:00
parent 2350bbebe3
commit d98c294331

View file

@ -6,7 +6,7 @@ buildarch=4
pkgname=xf86-video-armsoc-git
pkgver=258.8bbdb2a
pkgrel=2
pkgrel=3
epoch=1
pkgdesc='X.org graphics driver for ARM graphics'
arch=('armv7h')
@ -26,6 +26,13 @@ pkgver() {
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}
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
./autogen.sh --prefix=/usr
make