Commit 7e558aa0 authored by Baruch Siach's avatar Baruch Siach Committed by Peter Korsgaard
Browse files

gst-ffmpeg: fix build for xtensa

Since commit 6ea49a23 (gst-ffmpeg: Use internal libav instead of external
ffmpeg) gst-ffmpge uses its internal libav. This requires the same fix for
xtensa like ffmpeg got in commit 4ec35e76 (ffmpeg: fix build for xtensa).

Fixes
http://autobuild.buildroot.net/results/08a/08a27891fd5336250f00e611a15ea45505985f67/

.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 8e12b490
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -14,6 +14,14 @@ GST_FFMPEG_CONF_EXTRA_OPT = \
		--cross-prefix=$(TARGET_CROSS) \
		--target-os=linux

GST_FFMPEG_CFLAGS = $(TARGET_CFLAGS)

ifeq ($(BR2_xtensa),y)
GST_FFMPEG_CFLAGS += -mtext-section-literals
endif

GST_FFMPEG_CONF_ENV = CFLAGS="$(GST_FFMPEG_CFLAGS)"

ifeq ($(BR2_PACKAGE_ZLIB),y)
GST_FFMPEG_CONF_EXTRA_OPT += --enable-zlib
GST_FFMPEG_DEPENDENCIES += zlib