[oe-commits] Richard Purdie : gstreamer: Better gcc 4.9 fix
git at git.openembedded.org
git at git.openembedded.org
Tue May 13 06:55:36 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: c0b9b7aedaa10b46d4728176d9c5fd4ce3db43df
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c0b9b7aedaa10b46d4728176d9c5fd4ce3db43df
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon May 12 18:00:03 2014 +0100
gstreamer: Better gcc 4.9 fix
gstreamer does runtime detection to enable/disable things like SSE code.
Unfortunately it is broken and will try and use this even with i586
compiler flags. This change forces it back to the approach with gcc 4.8
by disabling the problematic headers.
Its suboptimal but less so that the proposed previous forced enabling of
SSE on x86 everywhere.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb | 2 ++
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 1 +
2 files changed, 3 insertions(+)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
index 83b856b..4a8a994 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb
@@ -33,3 +33,5 @@ do_configure_prepend() {
}
FILES_${PN} += "${datadir}/${BPN}"
+
+CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
index eb13277..972ff18 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
@@ -37,3 +37,4 @@ EXTRA_OECONF += " \
FILES_${PN} += "${datadir}/gst-plugins-base"
+CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
More information about the Openembedded-commits
mailing list