mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/kodi-rpi-git: use alt -mcpu= for aarch64
This commit is contained in:
parent
19e1d2ae5e
commit
b2ea87cf3c
1 changed files with 3 additions and 1 deletions
|
@ -150,7 +150,9 @@ build() {
|
|||
export CFLAGS+=" -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
elif [[ $CARCH = "aarch64" ]]; then
|
||||
export CFLAGS+=" -mcpu=cortex-a53+crc"
|
||||
# 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 CXXFLAGS="${CFLAGS}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue