git: 4858047a7ce5 - main - www/node22: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 May 2025 08:04:59 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4858047a7ce5e2bd1e33ef07e9c2b23afece848f
commit 4858047a7ce5e2bd1e33ef07e9c2b23afece848f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-05-20 12:04:45 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-05-22 08:04:56 +0000
www/node22: fix build on powerpc64
../deps/simdjson/simdjson.cpp:27141:5: error: use of undeclared identifier 'vec_vsx_st'
27141 | vec_vsx_st(this->value, 0, reinterpret_cast<__m128i *>(dst));
| ^
---
www/node22/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/node22/Makefile b/www/node22/Makefile
index bd3f8a2dcaf2..d8a6b7ca7181 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -66,6 +66,8 @@ ICU_CONFIGURE_ON= --with-intl=system-icu
ICU_LIB_DEPENDS= libicui18n.so:devel/icu
JIT_CONFIGURE_OFF= --v8-lite-mode
+CXXFLAGS_powerpc64= -mpower8-vector
+
.include "Makefile.version"
.include <bsd.port.options.mk>