[vlc-commits] contrib: add HAVE_FPU (to select fixed point codecs)
Rémi Denis-Courmont
git at videolan.org
Tue Jun 28 18:45:29 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 25 18:58:23 2011 +0300| [8d1947f2be1937a1f5741630dd9d0787c2bd2e5b] | committer: Rémi Denis-Courmont
contrib: add HAVE_FPU (to select fixed point codecs)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d1947f2be1937a1f5741630dd9d0787c2bd2e5b
---
contrib/src/main.mak | 4 ++++
contrib/src/tremor/rules.mak | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 36841ed..f1da043 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -28,6 +28,10 @@ ifneq ($(HOST),$(BUILD))
HAVE_CROSS_COMPILE = 1
endif
ARCH := $(shell $(SRC)/get-arch.sh $(HOST))
+ifneq ($(findstring $(ARCH),i386 sparc sparc64 ppc ppc64 x86_64),)
+# This should be consistent with include/vlc_cpu.h
+HAVE_FPU = 1
+endif
ifdef HAVE_CROSS_COMPILE
need_pkg = 1
diff --git a/contrib/src/tremor/rules.mak b/contrib/src/tremor/rules.mak
index 5e109a3..0b102c3 100644
--- a/contrib/src/tremor/rules.mak
+++ b/contrib/src/tremor/rules.mak
@@ -1,5 +1,9 @@
# tremor (fixed-point Vorbis)
+ifndef HAVE_FPU
+PKGS += tremor
+endif
+
$(TARBALLS)/tremor-svn.tar.xz:
rm -Rf tremor-svn
$(SVN) export http://svn.xiph.org/trunk/Tremor tremor-svn
More information about the vlc-commits
mailing list