From: nico Date: Mon, 21 Dec 2009 02:11:06 +0000 (+0000) Subject: [packages] ffmpeg: add workarounds for build failure on x86 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=09447468f114576d89c37a904de8509298c7e86a;p=packages.git [packages] ffmpeg: add workarounds for build failure on x86 git-svn-id: svn://svn.openwrt.org/openwrt/packages@18869 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 39c9e93bb..05136af11 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -163,6 +163,11 @@ FFMPEG_CONFIGURE_DEMUXERS:=$(call FILTER_CONFIG,DEMUXER,demuxer,$(FFMPEG_DEMUXER FFMPEG_CONFIGURE_PARSERS:=$(call FILTER_CONFIG,PARSER,parser,$(FFMPEG_PARSERS)) FFMPEG_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(FFMPEG_PROTOCOLS)) +# XXX: add --disable-mmx & --disable-mmx2 to fix build failure on x86 +# libpostproc/postprocess_template.c:2195: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' +# libpostproc/postprocess_template.c:3124: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' +# libpostproc/postprocess_template.c:3207: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' + define Build/Configure # this is *NOT* GNU configure ( cd $(PKG_BUILD_DIR); \ @@ -180,6 +185,8 @@ define Build/Configure --enable-ffserver \ --enable-gpl \ --enable-libfaad \ + --disable-mmx \ + --disable-mmx2 \ --enable-pthreads \ --disable-optimizations \ --enable-small \