aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-24 11:24:24 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-24 11:24:24 +0100
commit3e2fc295ca57ff03600472589ffa57d5019aeab0 (patch)
treef5a691c70f0a1800ab17dd96409706b6b193545d
parentc2cad590dae2b05bd3a698b8a6835b98348c8a5c (diff)
downloadbuildroot-3e2fc295ca57ff03600472589ffa57d5019aeab0.tar.gz
buildroot-3e2fc295ca57ff03600472589ffa57d5019aeab0.tar.bz2
Revert "shadowsocks-libev: fix build on riscv"
This reverts commit ebffca8ba483610478f33cdc52a24a165e4da87e, which is no longer needed now that the RISC-V gcc has been patched to define _REENTRANT when -pthread is passed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/shadowsocks-libev/shadowsocks-libev.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/shadowsocks-libev/shadowsocks-libev.mk b/package/shadowsocks-libev/shadowsocks-libev.mk
index 7fdcd3f772..caae2176b4 100644
--- a/package/shadowsocks-libev/shadowsocks-libev.mk
+++ b/package/shadowsocks-libev/shadowsocks-libev.mk
@@ -14,11 +14,4 @@ SHADOWSOCKS_LIBEV_CONF_OPTS = \
--with-pcre=$(STAGING_DIR)/usr \
--disable-ssp
-# gcc on riscv doesn't define _REENTRANT when -pthread is passed while
-# it should. Compensate this deficiency here otherwise shadowsocks-libev
-# configure script doesn't find that thread support is enabled.
-ifeq ($(BR2_riscv),y)
-SHADOWSOCKS_LIBEV_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_REENTRANT"
-endif
-
$(eval $(autotools-package))