From 9903621022d4629f42a66484da4d1d611669e527 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 18 Mar 2018 23:02:57 -0700 Subject: libmicrohttpd: Add -D_REENTRANT to CFLAGS GCC fails to add it with -pthread on some arches e.g. risc-v Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb index ee399a764..0930a277b 100644 --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada8 inherit autotools lib_package pkgconfig gettext +CFLAGS += "-pthread -D_REENTRANT" + EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" PACKAGECONFIG ?= "curl" -- cgit v1.2.3-54-g00ecf