alarm/xf86-video-armsoc-odroid to 240.78c3cda-3

This commit is contained in:
Kevin Mihelich 2018-05-27 14:33:31 +00:00
parent 428c503b70
commit d71f92ac94

View file

@ -5,7 +5,7 @@ buildarch=4
pkgname=xf86-video-armsoc-odroid
pkgver=240.78c3cda
pkgrel=2
pkgrel=3
pkgdesc='X.org graphics driver for ARM graphics - Exynos ODROID'
arch=('armv7h')
url="https://github.com/mdrjr/xf86-video-armsoc/tree/r4p0"
@ -34,6 +34,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=exynos
make