All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gst-ffmpeg: fix build for xtensa
@ 2014-01-20 10:33 Baruch Siach
  2014-01-20 21:23 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2014-01-20 10:33 UTC (permalink / raw)
  To: buildroot

Since commit 6ea49a23df3 (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 4ec35e76b8a3 (ffmpeg: fix build for xtensa).

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

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk b/package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk
index 6534f9310795..eb7389f90f30 100644
--- a/package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk
+++ b/package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk
@@ -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
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] gst-ffmpeg: fix build for xtensa
  2014-01-20 10:33 [Buildroot] [PATCH] gst-ffmpeg: fix build for xtensa Baruch Siach
@ 2014-01-20 21:23 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2014-01-20 21:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Since commit 6ea49a23df3 (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 4ec35e76b8a3 (ffmpeg: fix build for xtensa).

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

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-20 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 10:33 [Buildroot] [PATCH] gst-ffmpeg: fix build for xtensa Baruch Siach
2014-01-20 21:23 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.