Date: Fri, 14 Jun 2024 09:11:42 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 79715260b7ff - main - net/shadowsocks-rust: Fix build on i386 Message-ID: <202406140911.45E9BgMV054807@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=79715260b7ffd9bbf071b3e1eb66371ea32a5020 commit 79715260b7ffd9bbf071b3e1eb66371ea32a5020 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-06-13 16:26:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-06-14 09:11:32 +0000 net/shadowsocks-rust: Fix build on i386 Reported by: fallout --- net/shadowsocks-rust/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/shadowsocks-rust/Makefile b/net/shadowsocks-rust/Makefile index 4ce0718c8f9b..5ea1c0a69703 100644 --- a/net/shadowsocks-rust/Makefile +++ b/net/shadowsocks-rust/Makefile @@ -19,6 +19,8 @@ USE_RC_SUBR= sslocal-rust \ USE_GITHUB= yes GH_ACCOUNT= shadowsocks +RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386 + CARGO_CRATES= addr2line-0.22.0 \ adler-1.0.2 \ aead-0.5.2 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406140911.45E9BgMV054807>