Skip to content

Commit

Permalink
lang/yap: fix build on powerpc and powerpc64
Browse files Browse the repository at this point in the history
Use GCC because of clang issue:
fatal error: error in backend: Invalid register name global variable
  • Loading branch information
pkubaj committed Nov 7, 2021
1 parent 4ae9102 commit 9bb9679
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lang/yap/Makefile
Expand Up @@ -47,6 +47,10 @@ post-build-DOCS-off:

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.endif

.if ${PORT_OPTIONS:MDOCS} && !${PORT_OPTIONS:MBUILDDOCS}
MASTER_SITES+= http://www.grosbein.net/freebsd/distfiles/:docs \
LOCAL/eugen:docs
Expand Down

0 comments on commit 9bb9679

Please sign in to comment.