git: 3bf50f6fb6b4 - main - www/node20: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Aug 2025 21:30:20 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3bf50f6fb6b40c8853f27748e50ec78aabfcbb18
commit 3bf50f6fb6b40c8853f27748e50ec78aabfcbb18
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-08-01 21:03:25 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-08-01 21:30:16 +0000
www/node20: fix build on powerpc64
../deps/simdutf/simdutf.cpp:8339:37: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
8339 | using vec_u64_t = __vector unsigned long long;
| ^
../deps/simdutf/simdutf.cpp:8340:35: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
8340 | using vec_i64_t = __vector signed long long;
| ^
---
www/node20/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/node20/Makefile b/www/node20/Makefile
index bfcd8c796f38..d921874d4ce5 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -40,6 +40,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-zlib \
--with-intl=system-icu \
--without-npm
+CXXFLAGS_powerpc64= -mpower8-vector
HAS_CONFIGURE= yes
MAKE_ENV= CC.host="${CCACHE_BIN} ${CC}" \
CFLAGS.host="${CFLAGS}" \