mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
soxr: don't create libavutil dependency on ARM
When both SIMD/NEON optimized and non-SIMD resamplers are built soxr uses libavutil to do runtime CPU detection to switch between these. Avoid that by enabling only one of them depending on NEON availability. Also explicitly disable AVFFT to avoid picking up a dependency on libavcodec. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
01391bb7db
commit
c0c0c08f32
@ -32,4 +32,13 @@ PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DBUILD_TESTS=OFF"
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DWITH_AVFFT=OFF"
|
||||
|
||||
if [ "$TARGET_ARCH" = "arm" ]; then
|
||||
if target_has_feature neon; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DWITH_CR32=OFF"
|
||||
else
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DWITH_CR32S=OFF"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user