diff --git a/alarm/kodi-rpi-legacy/PKGBUILD b/alarm/kodi-rpi-legacy/PKGBUILD index 9fec4b3e9..35d7847dd 100644 --- a/alarm/kodi-rpi-legacy/PKGBUILD +++ b/alarm/kodi-rpi-legacy/PKGBUILD @@ -111,8 +111,7 @@ build() { # uses here so unset them and redefine below unset CFLAGS CXXFLAGS - CFLAGS="-O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \ - -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection" + CFLAGS="-O2 -pipe -fno-plt" CXXFLAGS="${CFLAGS}" export CFLAGS+=" -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"