mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/xf86-video-armsoc-rockchip to 261.67d4cff-5
This commit is contained in:
parent
d71f92ac94
commit
c5041c83a2
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,7 @@ buildarch=4
|
|||
|
||||
pkgname=xf86-video-armsoc-rockchip
|
||||
pkgver=261.67d4cff
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc='X.org graphics driver for ARM graphics - Rockchip'
|
||||
arch=('armv7h')
|
||||
url="https://github.com/mmind/xf86-video-armsoc"
|
||||
|
@ -36,6 +36,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=rockchip
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue