mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/kodi-rbp to 15.2-2
This commit is contained in:
parent
16b10cd0cf
commit
6e7c288a9a
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ pkgbase=kodi-rbp
|
|||
pkgname=('kodi-rbp' 'kodi-rbp-eventclients')
|
||||
pkgver=15.2
|
||||
_codename=Isengard
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||
arch=('armv6h' 'armv7h')
|
||||
url="http://kodi.tv"
|
||||
|
@ -55,7 +55,7 @@ build() {
|
|||
# Configuring Kodi
|
||||
export PYTHON_VERSION=2 # external python v2
|
||||
# we need to compile for armv6 instead of armv5 to avoid problems compiling assembler code
|
||||
FLAGS="-Ofast -fexcess-precision=fast -mfloat-abi=hard -mabi=aapcs-linux -pipe -fstack-protector --param=ssp-buffer-size=4 \
|
||||
FLAGS="-Ofast -fexcess-precision=fast -mfloat-abi=hard -mabi=aapcs-linux -pipe -fstack-protector --param=ssp-buffer-size=4 -D_GLIBCXX_USE_CXX11_ABI=1\
|
||||
-D_FORTIFY_SOURCE=1 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
[[ $CARCH == "armv6h" ]] && export CFLAGS="$FLAGS -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfpu=vfp" && export CXXFLAGS="$FLAGS -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfpu=vfp"
|
||||
[[ $CARCH == "armv7h" ]] && export CFLAGS="$FLAGS -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mvectorize-with-neon-quad" && export CXXFLAGS="$FLAGS -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mvectorize-with-neon-quad"
|
||||
|
|
Loading…
Reference in a new issue