libs/speex and libs/speexdsp: fix configure params 4656/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 30 Jul 2017 15:41:07 +0000 (17:41 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 30 Jul 2017 15:51:43 +0000 (17:51 +0200)
- Remove ogg params from speex configure as it doesn't know about them.

- Remove --enable-sse=no from both speex and speexdsp. The configure
  scripts do actually not add items to our CFLAGS like previously
  assumed.

- When --disable-float-api is used VBR needs to be disabled as well, as
  VBR has not been implemented with fixed-point math in speex (yet). So
  add --disable-vbr when --disable-float-api is used.

- In speexdsp 1.2rc2 optimizations for NEON were added. Unfortunately
  the ASM does not work for 64bit ARM. So force NEON optimizations off
  when compiling for AARCH64.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/speex/Makefile
libs/speexdsp/Makefile

index 60575854f1a23edb271a9ebbe83812aca346bbce..01538ebe1804c3f58754d0bb768ebf5b5331576d 100644 (file)
@@ -60,9 +60,6 @@ CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
        --disable-binaries \
-       --disable-oggtest \
-       --enable-sse=no \
-       --with-ogg=$(STAGING_DIR)/usr \
-       $(if $(CONFIG_SOFT_FLOAT),--enable-fixed-point --disable-float-api)
+       $(if $(CONFIG_SOFT_FLOAT),--enable-fixed-point --disable-float-api --disable-vbr)
 
 $(eval $(call BuildPackage,libspeex))
index 508c8789b6bcc33eca24ca17c3345d4d411b8a29..5b94e14b76b775760c0faf6cdc484db449add074 100644 (file)
@@ -60,7 +60,7 @@ CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
        --disable-examples \
-       --enable-sse=no \
+       $(if $(CONFIG_aarch64),--disable-neon) \
        $(if $(CONFIG_SOFT_FLOAT),--enable-fixed-point --disable-float-api)
 
 $(eval $(call BuildPackage,libspeexdsp))