diff --git a/alarm/xf86-video-fbturbo-git/PKGBUILD b/alarm/xf86-video-fbturbo-git/PKGBUILD index 054a8e8a8..fcb66cf52 100644 --- a/alarm/xf86-video-fbturbo-git/PKGBUILD +++ b/alarm/xf86-video-fbturbo-git/PKGBUILD @@ -4,7 +4,7 @@ pkgname=xf86-video-fbturbo-git _gitname=xf86-video-fbturbo pkgver=199.f9a6ed7 -pkgrel=3 +pkgrel=4 pkgdesc="X.org MALI video driver" arch=('armv7h') url="https://github.com/ssvb/xf86-video-fbturbo" @@ -33,6 +33,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