mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
alarm/xf86-video-odroid-c2 to 0.5-5
This commit is contained in:
parent
e4091cb8a8
commit
4708600757
1 changed files with 9 additions and 1 deletions
|
@ -5,7 +5,7 @@ buildarch=8
|
||||||
|
|
||||||
pkgname=xf86-video-odroid-c2
|
pkgname=xf86-video-odroid-c2
|
||||||
pkgver=0.5
|
pkgver=0.5
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="X.org Mali video driver for ODROID-C2"
|
pkgdesc="X.org Mali video driver for ODROID-C2"
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
@ -18,6 +18,14 @@ sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd c2_mali_ddx
|
cd c2_mali_ddx
|
||||||
|
|
||||||
|
# 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}
|
||||||
|
|
||||||
LDFLAGS+=" -L/usr/lib/mali-egl"
|
LDFLAGS+=" -L/usr/lib/mali-egl"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue