kodi: do not set ENABLE_NEON for target x86_64

If ENABLE_NEON is set whilst building x86_64 with cmake. cmake warnings
that the variable is not been used.
This commit is contained in:
Rudi Heitbaum 2022-09-19 10:19:49 +00:00
parent 13bf97c5fa
commit 053dc98d50

View File

@ -173,10 +173,14 @@ configure_package() {
KODI_UPNP="-DENABLE_UPNP=OFF" KODI_UPNP="-DENABLE_UPNP=OFF"
fi fi
if target_has_feature neon; then if [ "${TARGET_ARCH}" = "aarch64" -o "${TARGET_ARCH}" = "arm" ]; then
KODI_NEON="-DENABLE_NEON=ON" if target_has_feature neon; then
KODI_NEON="-DENABLE_NEON=ON"
else
KODI_NEON="-DENABLE_NEON=OFF"
fi
else else
KODI_NEON="-DENABLE_NEON=OFF" KODI_NEON=""
fi fi
if [ "${VDPAU_SUPPORT}" = "yes" -a "${DISPLAYSERVER}" = "x11" ]; then if [ "${VDPAU_SUPPORT}" = "yes" -a "${DISPLAYSERVER}" = "x11" ]; then