mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
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>
This commit is contained in:
parent
c2cad590da
commit
3e2fc295ca
@ -14,11 +14,4 @@ SHADOWSOCKS_LIBEV_CONF_OPTS = \
|
|||||||
--with-pcre=$(STAGING_DIR)/usr \
|
--with-pcre=$(STAGING_DIR)/usr \
|
||||||
--disable-ssp
|
--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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user