1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

mail/rspamd-devel: fix build on powerpc64

Disable LTO, due to LLVM bug.
This commit is contained in:
Piotr Kubaj 2021-12-24 21:33:12 +00:00
parent 49d85f399d
commit c64243b6c9

View File

@ -86,9 +86,11 @@ LUAJIT_CMAKE_OFF= -DENABLE_LUAJIT=OFF
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*}
.if ${ARCH} == powerpc64
CMAKE_ARGS+= -DENABLE_LTO:BOOL=OFF
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
.elif ${ARCH} == powerpc64le
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
USES+= compiler:gcc-c++11-lib
.endif
post-install: