mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
alarm/xf86-video-armada to 402.04748ff-2
This commit is contained in:
parent
f552947afd
commit
2350bbebe3
1 changed files with 9 additions and 1 deletions
|
@ -5,7 +5,7 @@ buildarch=4
|
|||
|
||||
pkgname=xf86-video-armada
|
||||
pkgver=402.04748ff
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='X.org graphics driver for Marvell Armada DRM and Freescale i.MX'
|
||||
arch=('armv7h')
|
||||
url="http://git.arm.linux.org.uk/cgit/xf86-video-armada.git/"
|
||||
|
@ -34,6 +34,14 @@ 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}
|
||||
|
||||
./autogen.sh --prefix=/usr --disable-vivante --disable-etnaviv --with-etnaviv-source="${srcdir}/etna_viv"
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue