aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-28 02:30:42 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-28 02:32:10 +0000
commit34887c68ff1b1cadc938d830cf0d1392d677bd1f (patch)
treee74b2003d468f46d1fc6eebb06ccc12d52a3c4d8
parent33e176b8f9291561a0317678effecb0e04e9a839 (diff)
downloadports-34887c68ff1b1cadc938d830cf0d1392d677bd1f.tar.gz
ports-34887c68ff1b1cadc938d830cf0d1392d677bd1f.zip
www/librewolf: fix build on powerpc64
/wrkdirs/usr/ports/www/librewolf/work/librewolf-117.0-1/third_party/highway/hwy/ops/ppc_vsx-inl.h:3193:41: error: use of undeclared identifier 'vec_cipher_be' return BitCast(du8, detail::CipherVec{vec_cipher_be( ^
-rw-r--r--www/librewolf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index 47f774e30ce7..4e3f55d02dd8 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -82,6 +82,7 @@ FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default4
FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/firefox-snap/firefox.desktop
.if ${ARCH} == powerpc64
+CFLAGS+= -DHWY_COMPILE_ONLY_SCALAR
MOZ_OPTIONS+= --without-wasm-sandboxed-libraries
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \