From b4841f9f6bd7358ab99d62b9b6738d32cb2263e7 Mon Sep 17 00:00:00 2001 From: graysky Date: Tue, 5 Mar 2024 15:07:12 -0500 Subject: [PATCH] alarm/kodi-rpi-git to 21.x.65505.2f7151bc7c-1 --- alarm/kodi-rpi-git/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/alarm/kodi-rpi-git/PKGBUILD b/alarm/kodi-rpi-git/PKGBUILD index d5ec71b6e..3f3bf40cd 100644 --- a/alarm/kodi-rpi-git/PKGBUILD +++ b/alarm/kodi-rpi-git/PKGBUILD @@ -19,7 +19,7 @@ pkgname=( # recommend manually setting -DUSE_LTO=OFF to -DUSE_LTO=$(nproc) in build() _clangbuild= -pkgver=21.x.65499.720bf1673e +pkgver=21.x.65505.2f7151bc7c pkgrel=1 arch=('aarch64' 'armv7h') url="https://github.com/graysky2/xbmc/tree/gs-gbm_omega" @@ -127,10 +127,12 @@ build() { # in a single package which is consistent with how LibreELEC is currently built, see: # https://github.com/LibreELEC/LibreELEC.tv/commit/8e6605f6da56f25a00272b1cbacb93d40200153f#commitcomment-46341034 CFLAGS="-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard" + _args=(-DUSE_LTO=OFF) elif [[ $CARCH = "aarch64" ]]; then # note that we use a value of cortex-a53 here to allow RPi3 and RPi4 to use the same package # consistent with rationale of previous comment CFLAGS="-mcpu=cortex-a53" + _args=(-DUSE_LTO=ON) fi CFLAGS+=" -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection" @@ -144,11 +146,10 @@ build() { #export DISTCC_HOSTS="localhost/5 10.0.1.103/5:3636" fi - _args=( + _args+=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib - -DUSE_LTO=ON -DVERBOSE=ON -DENABLE_LDGOLD=OFF -DENABLE_AIRTUNES=ON