summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-12 18:00:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-15 23:27:45 +0100
commit874d81a5ebb6395b0d65d0082471287e522d0c47 (patch)
treea8d1feae29ec10c9bb2f7ef6e3b555e1a5745e3f
parent4152ac00e765c18217340741292daf4a3fc0007a (diff)
downloadpoky-874d81a5ebb6395b0d65d0082471287e522d0c47.tar.gz
gstreamer/lame: Better gcc 4.9 fix
gstreamer/lame 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. (From OE-Core rev: e273301efa0037a13c3a60b4414140364d9c9873) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc1
-rw-r--r--meta/recipes-multimedia/lame/lame_3.99.5.bb2
3 files changed, 5 insertions, 0 deletions
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 83b856b110..4a8a9947a7 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() {
33} 33}
34 34
35FILES_${PN} += "${datadir}/${BPN}" 35FILES_${PN} += "${datadir}/${BPN}"
36
37CACHED_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 eb132775c6..972ff18160 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 += " \
37 37
38FILES_${PN} += "${datadir}/gst-plugins-base" 38FILES_${PN} += "${datadir}/gst-plugins-base"
39 39
40CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
diff --git a/meta/recipes-multimedia/lame/lame_3.99.5.bb b/meta/recipes-multimedia/lame/lame_3.99.5.bb
index 907ff8f9d0..695b7ca989 100644
--- a/meta/recipes-multimedia/lame/lame_3.99.5.bb
+++ b/meta/recipes-multimedia/lame/lame_3.99.5.bb
@@ -26,3 +26,5 @@ FILES_${PN} = "${bindir}/lame"
26FILES_libmp3lame = "${libdir}/libmp3lame.so.*" 26FILES_libmp3lame = "${libdir}/libmp3lame.so.*"
27FILES_libmp3lame-dev = "${includedir} ${libdir}/*" 27FILES_libmp3lame-dev = "${includedir} ${libdir}/*"
28FILES_${PN}-dev = "" 28FILES_${PN}-dev = ""
29
30CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"