git: 367005133733 - main - textproc/jaq: Broken on i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 09 May 2025 17:45:56 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36700513373345fe405380f27f1e58213624c985

commit 36700513373345fe405380f27f1e58213624c985
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-05-09 14:01:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-05-09 17:45:52 +0000

    textproc/jaq: Broken on i386
    
    Reported by:    fallout
---
 textproc/jaq/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/textproc/jaq/Makefile b/textproc/jaq/Makefile
index fd9ce3630331..4c24987eb2f8 100644
--- a/textproc/jaq/Makefile
+++ b/textproc/jaq/Makefile
@@ -10,6 +10,8 @@ WWW=		https://github.com/01mf02/jaq
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE-MIT
 
+BROKEN_i386=	compilation fails: undefined symbol: __atomic_load_8
+
 USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	01mf02
@@ -95,9 +97,4 @@ LIB_DEPENDS+=	libatomic.so:lang/gcc${GCC_DEFAULT}
 LDFLAGS+=	-L/usr/local/lib/gcc${GCC_DEFAULT} -latomic
 .endif
 
-# attempt to fix build on i386, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284196#c1
-.if ${ARCH} == i386 && !${CFLAGS:M-march=*}
-CFLAGS+= -march=i586
-.endif
-
 .include <bsd.port.mk>