git: 96342d90941d - main - deskutils/pueue: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jun 2024 16:02:11 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=96342d90941d67e9a203ffe8dde08b1f8bdb2fd1
commit 96342d90941d67e9a203ffe8dde08b1f8bdb2fd1
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-15 16:00:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-15 16:02:08 +0000
deskutils/pueue: Fix build on i386
Reported by: fallout
---
deskutils/pueue/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/deskutils/pueue/Makefile b/deskutils/pueue/Makefile
index fd26e2bd83e4..80215b857426 100644
--- a/deskutils/pueue/Makefile
+++ b/deskutils/pueue/Makefile
@@ -15,6 +15,8 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= Nukesor
+RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
CARGO_CARGOTOML=${WRKSRC}/${PORTNAME}/Cargo.toml
CARGO_INSTALL_PATH=${PORTNAME}/
CARGO_CRATES= addr2line-0.22.0 \
@@ -287,4 +289,3 @@ post-install:
${STAGEDIR}${PREFIX}/bin/${PORTNAME}d
.include <bsd.port.mk>
-