Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libunwind: add cxx exceptions support
@ 2019-05-15 20:47 Fabrice Fontaine
  2019-05-15 20:47 ` [Buildroot] [PATCH 2/2] package/mono: add libunwind optional dependency Fabrice Fontaine
  0 siblings, 1 reply; 9+ messages in thread
From: Fabrice Fontaine @ 2019-05-15 20:47 UTC (permalink / raw)
  To: buildroot

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>
---
 package/libunwind/libunwind.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-27 18:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15 20:47 [Buildroot] [PATCH 1/2] package/libunwind: add cxx exceptions support Fabrice Fontaine
2019-05-15 20:47 ` [Buildroot] [PATCH 2/2] package/mono: add libunwind optional dependency Fabrice Fontaine
2019-05-16  6:29   ` Thomas Petazzoni
2019-05-16 19:43     ` Fabrice Fontaine
2019-05-18 20:40       ` Thomas Petazzoni
2019-05-25 17:03         ` Arnout Vandecappelle
2019-08-16  7:22           ` Angelo Compagnucci
2019-08-16  8:34             ` Fabrice Fontaine
2019-10-27 18:26               ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox