diff options
author | Ross Burton <ross.burton@intel.com> | 2017-01-16 16:16:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:47:21 +0000 |
commit | a04bb6803b59d5e802520208a9532be7a13352c3 (patch) | |
tree | 85e9766ed5d70604a49fb0afa966534fa67db21e /meta/recipes-multimedia/gstreamer/gstreamer1.0 | |
parent | bc14d82c0e5fb20b4967023152a9af1683fb2f2e (diff) | |
download | poky-a04bb6803b59d5e802520208a9532be7a13352c3.tar.gz |
gstreamer1.0: make libunwind detection deterministic
Otherwise libunwind support will be based on the contents of the sysroot, which
can cause problems.
(From OE-Core rev: 14cb8fe36fcb2dc20830fb4ba63ed1302255b61b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch new file mode 100644 index 0000000000..e39e6cad09 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Make the detection of libunwind deterministic. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
5 | |||
6 | diff --git a/configure.ac b/configure.ac | ||
7 | index ac88fb2..182c19a 100644 | ||
8 | --- a/configure.ac | ||
9 | +++ b/configure.ac | ||
10 | @@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") | ||
11 | -dnl libunwind is optionally used by the leaks tracer | ||
12 | -PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no) | ||
13 | - | ||
14 | @@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [ | ||
15 | -if test "x$HAVE_UNWIND" = "xyes"; then | ||
16 | - AC_DEFINE(HAVE_UNWIND, 1, [libunwind available]) | ||
17 | -fi | ||
18 | +dnl libunwind is optionally used by the leaks tracer | ||
19 | +AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])], | ||
20 | + [], [with_unwind=yes]) | ||
21 | +AS_IF([test "$with_unwind" = yes], | ||
22 | + [PKG_CHECK_MODULES(UNWIND, libunwind) | ||
23 | + AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])] | ||
24 | +) | ||