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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2019-10-10 20:05:24 -07:00
parent 0272da33e7
commit 66e2ea527e
@@ -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"