Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2025 05:59:00 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: a764d4bf582b - main - devel/cargo-leptos: Broken on i386
Message-ID:  <202503290559.52T5x0UF041262@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit a764d4bf582bb14b84c3fec48ddae4e1a1c15e0e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-29 05:53:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-29 05:58:47 +0000

    devel/cargo-leptos: Broken on i386
    
    Reported by:    fallout
---
 devel/cargo-leptos/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/devel/cargo-leptos/Makefile b/devel/cargo-leptos/Makefile
index 75fe857b9e79..31580f819a5e 100644
--- a/devel/cargo-leptos/Makefile
+++ b/devel/cargo-leptos/Makefile
@@ -11,6 +11,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_armv7=	compilation fails: rustc-LLVM ERROR: out of memory
+BROKEN_i386=	compilation fails: undefined symbol: __atomic_fetch_add_8 (-march=i586 didn't help)
 
 BUILD_DEPENDS=	gmake:devel/gmake
 LIB_DEPENDS=	libssh2.so:security/libssh2
@@ -663,10 +664,4 @@ PLIST_FILES=	bin/${PORTNAME}
 LTO_UNSAFE=	yes
 .endif
 
-# attempt to fix on i386: ld: error: undefined symbol: __atomic_fetch_add_8
-.if ${ARCH} == i386 && !${CFLAGS:M-march=*}
-CFLAGS+=	-march=i586
-CXXFLAGS+=	-march=i586
-.endif
-
 .include <bsd.port.mk>


home | help

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