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

gst1-libav: fix build for xtensa

gst1-libav needs the same fix for xtensa like ffmpeg got in commit
4ec35e76 (ffmpeg: fix build for xtensa).

Fixes:
http://autobuild.buildroot.net/results/33f/33fcbb79809719f68f3ee2cdb0fcacad82b9e0eb/



[Peter: pass the correct flags, not the ones from ffmpeg]
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 06b53255
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -83,4 +83,12 @@ endif
GST1_LIBAV_CONF_OPT = \
	--with-libav-extra-configure="$(GST1_LIBAV_CONF_EXTRA_OPT)"

GST1_LIBAV_CFLAGS = $(TARGET_CFLAGS)

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

GST1_LIBAV_CONF_ENV += CFLAGS="$(GST1_LIBAV_CFLAGS)"

$(eval $(autotools-package))