Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2024 09:25:11 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: ab6160b7d2c1 - main - security/diswall: Fix build on i386
Message-ID:  <202406180925.45I9PBWt025083@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=ab6160b7d2c16ae5c5d73548633021c460da3adf

commit ab6160b7d2c16ae5c5d73548633021c460da3adf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-18 07:02:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-18 09:25:03 +0000

    security/diswall: Fix build on i386
---
 security/diswall/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/security/diswall/Makefile b/security/diswall/Makefile
index 783cc0329ece..a85480427b1b 100644
--- a/security/diswall/Makefile
+++ b/security/diswall/Makefile
@@ -18,6 +18,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	dis-works
 GH_PROJECT=	diswall-rs
 
+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=	adler-1.0.2 \
 		ahash-0.8.11 \
 		aho-corasick-1.1.3 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406180925.45I9PBWt025083>