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