aom: Disable neon when building on arm

The code fails to compile.
/mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/aom/3.7.0/git/aom_dsp/arm/highbd_subpel_variance_neon.c:257:1: error: call to undeclared function 'aom_highbd_8_variance16x16_neon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-11-05 20:52:21 -08:00
parent 95b8f2e9f3
commit 21315bd00b
@@ -20,7 +20,7 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \
"
CMAKE_VERBOSE = "VERBOSE=1"
CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
EXTRA_OECMAKE:append:arm = " ${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}"
EXTRA_OECMAKE:append:arm = " -DENABLE_NEON=OFF"
do_generate_toolchain_file:append() {
echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake