git: a764d4bf582b - main - devel/cargo-leptos: Broken on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Mar 2025 05:59:00 UTC
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>