1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix Shadowsocks-Rust build on x86

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-06-22 08:29:05 +02:00
parent 94fe73bb24
commit 31dbaed7a3

View file

@ -37,6 +37,9 @@ RUST_PKG_FEATURES:=local-redir
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/openmptcprouter/rust/rust-package.mk
ifeq ($(ARCH),i386)
RUSTC_LDFLAGS+=-C target-feature=+sse2
endif
define Package/shadowsocks-rust/Default
define Package/shadowsocks-rust-$(1)