diff mbox series

[oe,meta-oe] bdwgc: Enable C++ support and Additional options for musl

Message ID 20191011030603.2499110-1-raj.khem@gmail.com
State Accepted
Commit 66e2ea527e969e194d96f32c108aca842db74baa
Headers show
Series [oe,meta-oe] bdwgc: Enable C++ support and Additional options for musl | expand

Commit Message

Khem Raj Oct. 11, 2019, 3:06 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb
index 4c1393c946..905f95396a 100644
--- a/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb
+++ b/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb
@@ -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"