[OE-core] [PATCH 1/5] gstreamer1.0_git: avoid including <sys/poll.h> directly

Andre McCurdy armccurdy at gmail.com
Thu Feb 4 23:04:14 UTC 2016


musl libc generates warnings if <sys/poll.h> is included directly.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb
index 4fff533..77653af 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb
@@ -18,6 +18,9 @@ SRCREV_FORMAT = "base"
 
 S = "${WORKDIR}/git"
 
+# musl libc generates warnings if <sys/poll.h> is included directly
+CACHED_CONFIGUREVARS += "ac_cv_header_sys_poll_h=no"
+
 do_configure_prepend() {
 	${S}/autogen.sh --noconfigure
 }
-- 
1.9.1




More information about the Openembedded-core mailing list