alarm/kodi-rpi-git: update FLAGS for makepkg defaults

This commit is contained in:
graysky 2021-10-05 08:36:57 -04:00
parent c816ee4d57
commit 2cf9ab99c5

View file

@ -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