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 <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj authored and Armin Kuster committed 2018-03-29 16:48:04 -07:00
1 parent e0bc9bd439
commit 9903621022
1 file changed
+2
@@ -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"