mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
alarm/kodi-rpi-legacy: update FLAGS for makepkg defaults
This commit is contained in:
parent
96226eeeaa
commit
c816ee4d57
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ build() {
|
||||||
# uses here so unset them and redefine below
|
# uses here so unset them and redefine below
|
||||||
unset CFLAGS CXXFLAGS
|
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}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
export CFLAGS+=" -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
|
export CFLAGS+=" -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
|
||||||
|
|
Loading…
Reference in a new issue