[vlc-commits] contrib: speex: enable ARM asm and fixed point if FPU is missing
Rafaël Carré
git at videolan.org
Sun Jan 22 19:07:44 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 13:07:04 2012 -0500| [7a6940fb9c59864c5ef143d95c59ea31aa4e981b] | committer: Rafaël Carré
contrib: speex: enable ARM asm and fixed point if FPU is missing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a6940fb9c59864c5ef143d95c59ea31aa4e981b
---
contrib/src/speex/rules.mak | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/contrib/src/speex/rules.mak b/contrib/src/speex/rules.mak
index 50290ab..50d5bdf 100644
--- a/contrib/src/speex/rules.mak
+++ b/contrib/src/speex/rules.mak
@@ -20,9 +20,17 @@ speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
# TODO: fixed point and ASM opts
+CONFIG_OPTS := --without-ogg
+ifndef HAVE_FPU
+CONFIG_OPTS += --enable-fixed-point
+endif
+ifeq ($(ARCH),arm)
+CONFIG_OPTS += --enable-arm5e-asm
+endif
+
.speex: speex
$(RECONF)
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-ogg
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(CONFIG_OPTS)
cd $< && $(MAKE) install
touch $@
More information about the vlc-commits
mailing list