alarm/kodi-rpi-git: use alt -mcpu= for aarch64

This commit is contained in:
graysky 2021-01-26 12:38:27 -05:00
parent 19e1d2ae5e
commit b2ea87cf3c

View file

@ -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