aom: workaround gcc-14 error on 32-bit targets

ref:
- https://bugs.chromium.org/p/aomedia/issues/detail?id=3576
This commit is contained in:
Rudi Heitbaum 2024-05-23 08:52:38 +00:00
parent efc9c7e4d1
commit 5df56b74ea

View File

@ -17,6 +17,11 @@ PKG_CMAKE_OPTS_TARGET="-DENABLE_CCACHE=1 \
-DENABLE_TESTS=0 \
-DENABLE_TOOLS=0"
#workaround gcc-14 erroring with neon declarations
if [ "${ARCH}" = "arm" ]; then
TARGET_CFLAGS+=" -Wno-implicit-function-declaration"
fi
if [ "${TARGET_ARCH}" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" nasm:host"
elif ! target_has_feature neon; then