aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-10-10 20:05:24 -0700
committerKhem Raj <raj.khem@gmail.com>2019-10-10 21:58:10 -0700
commit66e2ea527e969e194d96f32c108aca842db74baa (patch)
tree548da494c2031a9bf5620d926143b83a037e4548
parent0272da33e7abf5c76c2a010913e8618cb1e9d6a7 (diff)
downloadmeta-openembedded-contrib-66e2ea527e969e194d96f32c108aca842db74baa.tar.gz
bdwgc: Enable C++ support and Additional options for musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb4
1 files changed, 4 insertions, 0 deletions
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"