Skip to content

Commit

Permalink
devel/tex-libtexluajit: fix build on powerpc
Browse files Browse the repository at this point in the history
Use GCC:
lj_vm_asm.s:2771:2: error: unknown directive
        .gnu_attribute 4, 1
  • Loading branch information
pkubaj committed Jun 9, 2021
1 parent 9bda07e commit d036a86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devel/tex-libtexluajit/Makefile
Expand Up @@ -27,4 +27,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/libs/luajit
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>

0 comments on commit d036a86

Please sign in to comment.