From 2cf9ab99c58af1a3bfe0dcf51220560413507263 Mon Sep 17 00:00:00 2001 From: graysky Date: Tue, 5 Oct 2021 08:36:57 -0400 Subject: [PATCH] alarm/kodi-rpi-git: update FLAGS for makepkg defaults --- alarm/kodi-rpi-git/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alarm/kodi-rpi-git/PKGBUILD b/alarm/kodi-rpi-git/PKGBUILD index 553e47a16..83ee08a33 100644 --- a/alarm/kodi-rpi-git/PKGBUILD +++ b/alarm/kodi-rpi-git/PKGBUILD @@ -120,7 +120,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