Skip to content

Commit

Permalink
textproc/jaq: fix build on powerpc
Browse files Browse the repository at this point in the history
ld: error: undefined symbol: __atomic_store_8
  • Loading branch information
pkubaj committed Mar 14, 2023
1 parent 73155b3 commit fb23079
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions textproc/jaq/Makefile
Expand Up @@ -78,6 +78,13 @@ CARGO_CRATES= ahash-0.7.6 \

PLIST_FILES= bin/${PORTNAME}

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc
LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT}
LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic
.endif

post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

Expand Down

0 comments on commit fb23079

Please sign in to comment.