Commit 8d1947f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: add HAVE_FPU (to select fixed point codecs)

parent 4453dfc4
......@@ -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
......
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment