community/mpv: v8 fix

This commit is contained in:
Kevin Mihelich 2016-02-27 19:18:29 +00:00
parent de0dd12d50
commit 9dcea642b8

View file

@ -4,7 +4,7 @@
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - armv7 needs to be built with fPIC
# - armv7/aarch64 needs to be built with fPIC
pkgname=mpv
epoch=1
@ -36,7 +36,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
./waf configure --prefix=/usr \
--confdir=/etc/mpv \