diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-05-03 01:25:04 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-05-03 01:25:44 +0000 |
commit | a8ad8c9258312501eb14eac17efecb99c542de51 (patch) | |
tree | f0a23929ce4631aca96e287c2aaac66eb72a4308 | |
parent | 4f959faa88e3563bac7594b961ad8125190db044 (diff) | |
download | ports-a8ad8c9258312501eb14eac17efecb99c542de51.tar.gz ports-a8ad8c9258312501eb14eac17efecb99c542de51.zip |
net/narrowlink: Fix build on i386
PR: fallout
(cherry picked from commit abba588b7f67cebfe44961dd482071870b907eb2)
-rw-r--r-- | net/narrowlink/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/narrowlink/Makefile b/net/narrowlink/Makefile index d2e538b094c5..67b23a8eb8e9 100644 --- a/net/narrowlink/Makefile +++ b/net/narrowlink/Makefile @@ -16,6 +16,8 @@ USES= cargo USE_RC_SUBR= narrowlink-agent narrowlink-gateway USE_GITHUB= yes +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.21.0 \ adler-1.0.2 \ aead-0.5.2 \ |