summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-02-05 13:34:52 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:29:45 +0000
commit8e36454511d7085e789f23e47ba159fce175f5ae (patch)
treed8ae7ed02f8e70ab62e0e8bebfce8c347bee54cc /meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
parentf8b2eb5eb09a1314ef59e58df95e81c1c1ccf1f4 (diff)
downloadopenembedded-core-8e36454511d7085e789f23e47ba159fce175f5ae.tar.gz
openembedded-core-8e36454511d7085e789f23e47ba159fce175f5ae.tar.bz2
openembedded-core-8e36454511d7085e789f23e47ba159fce175f5ae.zip
gstreamer1.0: avoid including <sys/poll.h> directly
musl libc generates warnings if <sys/poll.h> is included directly. The warnings only cause problems for the git versions (-Werror is turned off for GStreamer stable releases), but since <sys/poll.h> can be conviently disabled via configure let's avoid it for all versions. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index 218b4b31c7..662cd1ace8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -24,6 +24,9 @@ EXTRA_OECONF = " \
CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
+# musl libc generates warnings if <sys/poll.h> is included directly
+CACHED_CONFIGUREVARS += "ac_cv_header_sys_poll_h=no"
+
PACKAGES += "${PN}-bash-completion"
FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"