summaryrefslogtreecommitdiffstats
path: root/meta-oe
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
parente0bc9bd439b549666e82b19ea2af1ca681e127bf (diff)
downloadmeta-openembedded-9903621022d4629f42a66484da4d1d611669e527.tar.gz
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')
-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 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
11 11
12inherit autotools lib_package pkgconfig gettext 12inherit autotools lib_package pkgconfig gettext
13 13
14CFLAGS += "-pthread -D_REENTRANT"
15
14EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" 16EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../"
15 17
16PACKAGECONFIG ?= "curl" 18PACKAGECONFIG ?= "curl"