From 66e2ea527e969e194d96f32c108aca842db74baa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 10 Oct 2019 20:05:24 -0700 Subject: bdwgc: Enable C++ support and Additional options for musl Signed-off-by: Khem Raj --- meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit 1.2.3-korg