diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-11-05 20:52:21 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-06 08:48:27 -0800 |
commit | 21315bd00b2a1dcdf532929992c90496b8425192 (patch) | |
tree | faf0d7b28135752831cb36a8bd89258a2ca14528 | |
parent | 95b8f2e9f3a7ab04ae124d54558b2e67cc3d13b2 (diff) | |
download | meta-openembedded-21315bd00b2a1dcdf532929992c90496b8425192.tar.gz |
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>
-rw-r--r-- | meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb b/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb index 7e5af5039a..4d69b03987 100644 --- a/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb +++ b/meta-multimedia/recipes-multimedia/aom/aom_3.7.0.bb | |||
@@ -20,7 +20,7 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \ | |||
20 | " | 20 | " |
21 | CMAKE_VERBOSE = "VERBOSE=1" | 21 | CMAKE_VERBOSE = "VERBOSE=1" |
22 | CFLAGS:append:libc-musl = " -D_GNU_SOURCE" | 22 | CFLAGS:append:libc-musl = " -D_GNU_SOURCE" |
23 | EXTRA_OECMAKE:append:arm = " ${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}" | 23 | EXTRA_OECMAKE:append:arm = " -DENABLE_NEON=OFF" |
24 | 24 | ||
25 | do_generate_toolchain_file:append() { | 25 | do_generate_toolchain_file:append() { |
26 | echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake | 26 | echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake |