mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
alarm/kodi-rpi: revert CFLAGS
This commit is contained in:
parent
f35f257fc8
commit
e1963b08ba
1 changed files with 2 additions and 5 deletions
|
@ -110,8 +110,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}"
|
||||
|
||||
if [[ $CARCH = "armv7h" ]]; then
|
||||
|
@ -121,9 +120,7 @@ build() {
|
|||
export CFLAGS+=" -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
elif [[ $CARCH = "aarch64" ]]; then
|
||||
# note that linux-raspberrypi4 for aarch64 will currently NOT boot on RPi3 so we can use
|
||||
# a value of cortex-a72 here although the ffmpeg patch is using cortex-a53
|
||||
export CFLAGS+=" -mcpu=cortex-a72+crc"
|
||||
export CFLAGS+=" -mcpu=cortex-a53"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue