diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-03-18 23:02:57 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-03-29 16:48:04 -0700 |
| commit | 9903621022d4629f42a66484da4d1d611669e527 (patch) | |
| tree | f0ac89aadedb91d8a9f2ddfc76508244828d4906 | |
| parent | e0bc9bd439b549666e82b19ea2af1ca681e127bf (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb | 2 |
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 | |||
| 11 | 11 | ||
| 12 | inherit autotools lib_package pkgconfig gettext | 12 | inherit autotools lib_package pkgconfig gettext |
| 13 | 13 | ||
| 14 | CFLAGS += "-pthread -D_REENTRANT" | ||
| 15 | |||
| 14 | EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" | 16 | EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" |
| 15 | 17 | ||
| 16 | PACKAGECONFIG ?= "curl" | 18 | PACKAGECONFIG ?= "curl" |
