summaryrefslogtreecommitdiffstats
path: root/meta
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:30:00 +0000
commit9b0a74a62188563871b617a18eef890a9d9875b9 (patch)
treee2df0da29d2b84976f62335d428b36bf74e787b7 /meta
parentf9e565efb754041de9bb3c209d0bf8b271ceccf3 (diff)
downloadpoky-9b0a74a62188563871b617a18eef890a9d9875b9.tar.gz
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. (From OE-Core rev: 8e36454511d7085e789f23e47ba159fce175f5ae) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 = " \
24 24
25CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no" 25CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
26 26
27# musl libc generates warnings if <sys/poll.h> is included directly
28CACHED_CONFIGUREVARS += "ac_cv_header_sys_poll_h=no"
29
27PACKAGES += "${PN}-bash-completion" 30PACKAGES += "${PN}-bash-completion"
28 31
29FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" 32FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"