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
2018-03-18 23:02:57 -07:00
committed by Armin Kuster
parent e0bc9bd439
commit 9903621022
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada8
inherit autotools lib_package pkgconfig gettext inherit autotools lib_package pkgconfig gettext
CFLAGS += "-pthread -D_REENTRANT"
EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../"
PACKAGECONFIG ?= "curl" PACKAGECONFIG ?= "curl"