mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -26,3 +26,5 @@ FILES_${PN} = "${bindir}/lame"
|
||||
FILES_libmp3lame = "${libdir}/libmp3lame.so.*"
|
||||
FILES_libmp3lame-dev = "${includedir} ${libdir}/*"
|
||||
FILES_${PN}-dev = ""
|
||||
|
||||
CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
|
||||
|
||||
Reference in New Issue
Block a user