Date: Thu, 27 Mar 2025 07:28:03 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: 9bdab524e935 - main - devel/cargo-leptos: Attempt to fix on i386 Message-ID: <202503270728.52R7S3r5013497@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=9bdab524e935249fc0fa0fbe9bf06611df363d9a commit 9bdab524e935249fc0fa0fbe9bf06611df363d9a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-03-27 07:12:56 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-03-27 07:12:56 +0000 devel/cargo-leptos: Attempt to fix on i386 --- devel/cargo-leptos/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/cargo-leptos/Makefile b/devel/cargo-leptos/Makefile index 75e90de5a5f8..75fe857b9e79 100644 --- a/devel/cargo-leptos/Makefile +++ b/devel/cargo-leptos/Makefile @@ -663,4 +663,10 @@ 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?202503270728.52R7S3r5013497>
