[vlc-commits] contrib: speexdsp: fix build with android-ndk10c

Thomas Guillem git at videolan.org
Mon Oct 27 20:12:34 CET 2014


vlc/vlc-2.2 | branch: master | Thomas Guillem <tom at gllm.fr> | Mon Oct 20 14:50:27 2014 +0200| [13dd6a6cd45278c79a2bfef6e25bdf9646a5e557] | committer: Jean-Baptiste Kempf

contrib: speexdsp: fix build with android-ndk10c

In android-ndk10c, there is a "arm_neon.h" for all archs. The arm_neon.h for
x86* contains correspondence between neon and sse. In speexdsp, There is a
conflict between resample_sse.h and resample_neon.h. So disable neon if arch is
known to don't have neon.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit ef98e81ff014175fd7494c8313de8883d15834b3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=13dd6a6cd45278c79a2bfef6e25bdf9646a5e557
---

 contrib/src/speexdsp/rules.mak |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/speexdsp/rules.mak b/contrib/src/speexdsp/rules.mak
index bf06849..c29a9bd 100644
--- a/contrib/src/speexdsp/rules.mak
+++ b/contrib/src/speexdsp/rules.mak
@@ -26,6 +26,9 @@ SPEEXDSP_CONF := --enable-resample-full-sinc-table --disable-examples
 ifndef HAVE_NEON
 SPEEXDSP_CONF += --disable-neon
 endif
+ifndef HAVE_NEON
+SPEEXDSP_CONF += --disable-neon
+endif
 ifndef HAVE_FPU
 SPEEXDSP_CONF += --enable-fixed-point
 ifeq ($(ARCH),arm)



More information about the vlc-commits mailing list