]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Makefile.ffmpeg: another attempt to fix i386 build
authorJaroslav Kysela <perex@perex.cz>
Mon, 13 Oct 2014 13:51:09 +0000 (15:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 13 Oct 2014 13:55:56 +0000 (15:55 +0200)
Makefile.ffmpeg

index e9fae84ef071353432f8c51656c82031015a3834..1d2db9133642cfdc096f772485b1f067d868d226 100644 (file)
@@ -132,9 +132,9 @@ $(LIBAVDIR)/$(LIBVORBIS)/.tvh_build: \
 # libx264
 #
 
-ARCH = $(shell arch)
+ARCH = $(shell $(CC) -dumpmachine | cut -d '-' -f 1)
 
-ifeq ($(ARCH),i386)
+ifneq (,$(filter i386 i486 i586 i686 pentium,$(ARCH)))
 
 $(LIBAVDIR)/$(LIBX264)/.tvh_download:
        @echo "***** PLEASE FIX !!!! libx264 build for i386 *****"