diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-05 13:34:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:30:00 +0000 |
commit | 9b0a74a62188563871b617a18eef890a9d9875b9 (patch) | |
tree | e2df0da29d2b84976f62335d428b36bf74e787b7 | |
parent | f9e565efb754041de9bb3c209d0bf8b271ceccf3 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 3 |
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 | ||
25 | CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no" | 25 | CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no" |
26 | 26 | ||
27 | # musl libc generates warnings if <sys/poll.h> is included directly | ||
28 | CACHED_CONFIGUREVARS += "ac_cv_header_sys_poll_h=no" | ||
29 | |||
27 | PACKAGES += "${PN}-bash-completion" | 30 | PACKAGES += "${PN}-bash-completion" |
28 | 31 | ||
29 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | 32 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" |