From: Fabrice Fontaine Date: Wed, 15 May 2019 20:47:20 +0000 (+0200) Subject: package/libunwind: add cxx exceptions support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5bcb30cf910f13f08f4543cfb0d92a5ec103613;p=buildroot.git 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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