aboutsummaryrefslogtreecommitdiff
path: root/package/libunwind
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-05-15 22:47:20 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-10-27 19:27:36 +0100
commitd5bcb30cf910f13f08f4543cfb0d92a5ec103613 (patch)
tree58c73f1149139bf20a276d2df85d79023eae3844 /package/libunwind
parent0437884e2dd1d321f366c14999ca49c1b74b7286 (diff)
downloadbuildroot-d5bcb30cf910f13f08f4543cfb0d92a5ec103613.tar.gz
buildroot-d5bcb30cf910f13f08f4543cfb0d92a5ec103613.tar.bz2
package/libunwind: add cxx exceptions support
If C++ is enabled, enable cxx exceptions, so libunwind will implement _Unwind_GetIP which is used by mono (which already depends on C++) Fixes: - http://autobuild.buildroot.net/results/dbd64c89815d393a4e28b312d74fd80ee6de92da Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/libunwind')
-rw-r--r--package/libunwind/libunwind.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk
index 94d1899bd3..26deaa5f00 100644
--- a/package/libunwind/libunwind.mk
+++ b/package/libunwind/libunwind.mk
@@ -11,7 +11,9 @@ LIBUNWIND_LICENSE_FILES = COPYING
LIBUNWIND_LICENSE = MIT
LIBUNWIND_AUTORECONF = YES
-LIBUNWIND_CONF_OPTS = --disable-tests
+LIBUNWIND_CONF_OPTS = \
+ --disable-tests \
+ $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions)
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
LIBUNWIND_DEPENDENCIES = libatomic_ops