Revert "shadowsocks-libev: fix build on riscv"
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Nov 2018 10:24:24 +0000 (11:24 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Nov 2018 10:24:24 +0000 (11:24 +0100)
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>
package/shadowsocks-libev/shadowsocks-libev.mk

index 7fdcd3f772fe76fe1bd8a3c69d95dab59b24b6a4..caae2176b4366a637eaf150620b2c0f1bf3d2350 100644 (file)
@@ -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))