alarm/kodi-rpi: update FLAGS for makepkg defaults

This commit is contained in:
graysky 2021-10-05 08:35:50 -04:00
parent 5eaf7014b8
commit 96226eeeaa
3 changed files with 9 additions and 4 deletions

View file

@ -115,7 +115,8 @@ build() {
# uses here so unset them and redefine below
unset CFLAGS CXXFLAGS
CFLAGS="-O2 -pipe -fstack-protector-strong -fno-plt"
CFLAGS="-O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection"
CXXFLAGS="${CFLAGS}"
if [[ $CARCH = "armv7h" ]]; then

View file

@ -3,8 +3,8 @@
buildarch=12
pkgname=rpi-eeprom
_commit=953a7fe05f96e26a4e168d046abff80ae0591d66
pkgver=20210923
_commit=b93a7569a3b670078917ef0c29186cd2cfc47184
pkgver=20211006
pkgrel=1
pkgdesc="Bootloader and VL805 USB controller EEPROM update tool for RPi4"
arch=('any')
@ -13,7 +13,8 @@ license=('custom')
depends=(python pciutils raspberrypi-firmware coreutils binutils)
backup=("etc/default/$pkgname-update")
source=("https://github.com/raspberrypi/rpi-eeprom/archive/$_commit.tar.gz")
md5sums=('857d6c8bc45612b2030d0d8bc42d625b')
md5sums=('e383ee86aad8693a53a1202411cebae0')
install="$pkgname.install"
package() {
cd "$pkgname-$_commit"

View file

@ -0,0 +1,3 @@
post_install () {
echo '>>> rpi-eeprom-update usage: https://archlinuxarm.org/forum/viewtopic.php?f=3&t=15366'
}