Skip to contentSkip to conversation

bdwgc: Enable C++ support and Additional options for musl

PATCH New Khem Raj 1 participant 1 message Oct 11, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bdwgc: Enable C++ support and Additional options for musl

---
 meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb +4 -0
index 4c1393c946..905f95396a 100644
@@ -37,4 +37,8 @@ inherit autotools pkgconfig
 PACKAGECONFIG ??= "libatomic-ops"
 PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomic-ops"
 
+EXTRA_OECONF += "--enable-cpluscplus"
+
+CFLAGS_append_libc-musl = " -D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
+
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.23.0