alarm/xf86-video-fbturbo-odroid-c2-git to 199.f9a6ed7-4

This commit is contained in:
Kevin Mihelich 2018-05-27 14:34:41 +00:00
parent 843cb9a793
commit a0a6c6d4ee

View file

@ -6,7 +6,7 @@ buildarch=8
pkgname=xf86-video-fbturbo-odroid-c2-git
_gitname=xf86-video-fbturbo
pkgver=199.f9a6ed7
pkgrel=3
pkgrel=4
pkgdesc="X.org fbturbo video driver for odroid-c2"
arch=('aarch64')
url="https://github.com/tnmeyer/xf86-video-fbturbo"
@ -35,6 +35,14 @@ prepare() {
build() {
cd "${srcdir}/${_gitname}"
# 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
./configure --prefix=/usr
make