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:45:44 +0000 |
commit | 14cb8fe36fcb2dc20830fb4ba63ed1302255b61b (patch) | |
tree | 8fd3181a55eeb4487d4632976d72523b744498a1 /meta/recipes-multimedia/gstreamer/gstreamer1.0 | |
parent | 8aafed5f4757550f2ff688e1b8981e5e8e6e3428 (diff) | |
download | openembedded-core-14cb8fe36fcb2dc20830fb4ba63ed1302255b61b.tar.gz openembedded-core-14cb8fe36fcb2dc20830fb4ba63ed1302255b61b.tar.bz2 openembedded-core-14cb8fe36fcb2dc20830fb4ba63ed1302255b61b.zip |
gstreamer1.0: make libunwind detection deterministic
Otherwise libunwind support will be based on the contents of the sysroot, which
can cause problems.
Signed-off-by: Ross Burton <ross.burton@intel.com>
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 @@ +Make the detection of libunwind deterministic. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <ross.burton@intel.com> + +diff --git a/configure.ac b/configure.ac +index ac88fb2..182c19a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") +-dnl libunwind is optionally used by the leaks tracer +-PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no) +- +@@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [ +-if test "x$HAVE_UNWIND" = "xyes"; then +- AC_DEFINE(HAVE_UNWIND, 1, [libunwind available]) +-fi ++dnl libunwind is optionally used by the leaks tracer ++AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])], ++ [], [with_unwind=yes]) ++AS_IF([test "$with_unwind" = yes], ++ [PKG_CHECK_MODULES(UNWIND, libunwind) ++ AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])] ++) |