mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
devel/cargo-leptos: Broken on i386
Reported by: fallout
This commit is contained in:
parent
a453880436
commit
a764d4bf58
1 changed files with 1 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue