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

This commit is contained in:
graysky 2021-10-05 08:36:24 -04:00
parent 96226eeeaa
commit c816ee4d57

View file

@ -116,7 +116,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}"
export CFLAGS+=" -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"