mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/mpv: v8 fix
This commit is contained in:
parent
de0dd12d50
commit
9dcea642b8
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue