quickjs, stockfish: don't require `-latomic' anymore on powerpc, since
this arch has been switched to clang No objection from bcallah@ (maintainer)
This commit is contained in:
parent
9e0ca7af59
commit
7baac29ca2
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2020/02/08 04:35:56 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2020/04/06 20:24:53 cwen Exp $
|
||||
|
||||
COMMENT = open source chess engine
|
||||
PKGNAME = stockfish-${GH_TAGNAME:S/^sf_//}
|
||||
@ -30,9 +30,7 @@ MAKE_ENV = ARCH=x86-32
|
||||
.elif ${MACHINE_ARCH:Marm}
|
||||
MAKE_ENV = ARCH=armv7
|
||||
.elif ${MACHINE_ARCH:Mpowerpc}
|
||||
WANTLIB += atomic
|
||||
MAKE_ENV = ARCH=ppc-32
|
||||
MAKE_FLAGS = EXTRALDFLAGS="-L${LOCALBASE}/lib -latomic"
|
||||
.elif ${MACHINE_ARCH:Maarch64} || ${MACHINE_ARCH:Malpha} || \
|
||||
${MACHINE_ARCH:Msparc64} || ${MACHINE_ARCH:Mmips64} || \
|
||||
${MACHINE_ARCH:Mmips64el}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2020/01/15 14:30:50 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2020/04/06 20:24:53 cwen Exp $
|
||||
|
||||
COMMENT = small, embeddable JavaScript engine in C
|
||||
|
||||
@ -27,7 +27,7 @@ USE_GMAKE = Yes
|
||||
MAKE_FLAGS = CC="${CC}"
|
||||
|
||||
# Fix "undefined reference to `__atomic_store_8'"
|
||||
.if ${MACHINE_ARCH:Mpowerpc} || ${MACHINE_ARCH:Mhppa}
|
||||
.if ${MACHINE_ARCH:Mhppa}
|
||||
WANTLIB += atomic
|
||||
MAKE_FLAGS += LDFLAGS="${LDFLAGS} -latomic"
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user