alarm/xf86-video-armsoc-rockchip to 261.67d4cff-5

This commit is contained in:
Kevin Mihelich 2018-05-27 14:33:59 +00:00
parent d71f92ac94
commit c5041c83a2

View file

@ -4,7 +4,7 @@ buildarch=4
pkgname=xf86-video-armsoc-rockchip
pkgver=261.67d4cff
pkgrel=4
pkgrel=5
pkgdesc='X.org graphics driver for ARM graphics - Rockchip'
arch=('armv7h')
url="https://github.com/mmind/xf86-video-armsoc"
@ -36,6 +36,13 @@ 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}
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
./autogen.sh --prefix=/usr --with-drmmode=rockchip
make