aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-18 23:02:57 -0700
committerArmin Kuster <akuster808@gmail.com>2018-03-29 16:48:04 -0700
commit9903621022d4629f42a66484da4d1d611669e527 (patch)
treef0ac89aadedb91d8a9f2ddfc76508244828d4906 /meta-oe/recipes-support
parente0bc9bd439b549666e82b19ea2af1ca681e127bf (diff)
downloadmeta-openembedded-contrib-9903621022d4629f42a66484da4d1d611669e527.tar.gz
meta-openembedded-contrib-9903621022d4629f42a66484da4d1d611669e527.tar.bz2
meta-openembedded-contrib-9903621022d4629f42a66484da4d1d611669e527.zip
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>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb2
1 files changed, 2 insertions, 0 deletions
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 ee399a7645..0930a277bc 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"