contrib: ffmpeg: Fix NaCL build
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 2 Oct 2017 16:18:25 +0000 (18:18 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 19 Mar 2018 16:16:52 +0000 (17:16 +0100)
contrib/src/ffmpeg/rules.mak

index fc68f81..434e4d3 100644 (file)
@@ -214,6 +214,10 @@ endif
 FFMPEGCONF += --target-os=sunos --enable-pic
 endif
 
+ifdef HAVE_NACL
+FFMPEGCONF+=--disable-inline-asm --disable-asm --target-os=linux
+endif
+
 # Build
 PKGS += ffmpeg
 ifeq ($(call need_pkg,"libavcodec >= $(FFMPEG_LAVC_MIN) libavformat >= 53.21.0 libswscale"),)