diff --git a/alarm/kodi-rpi/PKGBUILD b/alarm/kodi-rpi/PKGBUILD index 0379cd86e..7375980ed 100644 --- a/alarm/kodi-rpi/PKGBUILD +++ b/alarm/kodi-rpi/PKGBUILD @@ -118,6 +118,8 @@ build() { export CFLAGS+=" -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard" export CXXFLAGS="${CFLAGS}" elif [[ $CARCH = "aarch64" ]]; then + # note that we use a value of cortex-a53 here to allow RPi3 and RPi4 to use the same package + # consistent with rationale of previous comment export CFLAGS+=" -mcpu=cortex-a53" export CXXFLAGS="${CFLAGS}" fi