mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user