From c0e8b04da9e49184f5620340fe19655f0c104eca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 18 Feb 2010 08:17:15 +0100 Subject: [PATCH] fix live555 compile on armlinux --- extras/contrib/src/Makefile | 5 ++++ .../contrib/src/Patches/live-armlinux.patch | 28 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 extras/contrib/src/Patches/live-armlinux.patch diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index 40606067c0..58d8111ce7 100644 --- a/extras/contrib/src/Makefile +++ b/extras/contrib/src/Makefile @@ -1238,12 +1238,17 @@ ifdef HAVE_UCLIBC ifdef HAVE_BIGENDIAN (cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC)) endif +else +ifeq ($(ARCH),armel) + patch -p0 < Patches/live-armlinux.patch + (cd $<; ./genMakefiles armlinux && make $(HOSTCC)) else (cd $<; sed -e 's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%' -i.orig config.linux) (cd $<; ./genMakefiles linux && make $(HOSTCC)) endif endif endif +endif endif mkdir -p $(PREFIX)/lib $(PREFIX)/include cp $