summaryrefslogtreecommitdiffstats
path: root/package/libmicrohttpd
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-24 11:27:37 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-24 11:27:37 +0100
commit9e095fc98bf21b7562942b8781d339f246d5cdcd (patch)
tree53c9f3e3e95b7d372b06a0b803831c2d1f13ede0 /package/libmicrohttpd
parent1133df5c96eb7d78951d0021fc402ccd8c919e23 (diff)
downloadbuildroot-9e095fc98bf21b7562942b8781d339f246d5cdcd.tar.gz
buildroot-9e095fc98bf21b7562942b8781d339f246d5cdcd.zip
package/libmicrohttpd: defining _REENTRANT on ARC is no longer needed
The ARC gcc compiler now defines _REENTRANT when -pthread is passed. This issue was fixed upstream in gcc commit de4c7f60f2891193bf3f5da823b17fa0d7fd4830, which is part of gcc 7.x. Therefore, both the gcc 7.x and 8.x versions, which can be selected for the ARC architecture, are fixed, making the libmicrohttpd work around useless. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libmicrohttpd')
-rw-r--r--package/libmicrohttpd/libmicrohttpd.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/libmicrohttpd/libmicrohttpd.mk b/package/libmicrohttpd/libmicrohttpd.mk
index 1cda434819..d5c6366d8d 100644
--- a/package/libmicrohttpd/libmicrohttpd.mk
+++ b/package/libmicrohttpd/libmicrohttpd.mk
@@ -11,13 +11,6 @@ LIBMICROHTTPD_INSTALL_STAGING = YES
LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99
-# gcc on arc doesn't define _REENTRANT when -pthread is passed while
-# it should. Compensate this deficiency here otherwise libmicrohttpd
-# configure script doesn't find that thread support is enabled.
-ifeq ($(BR2_arc),y)
-LIBMICROHTTPD_CFLAGS += -D_REENTRANT
-endif
-
LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)"
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
OpenPOWER on IntegriCloud