git: d59ea56e4087 - main - www/node18: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Oct 2023 11:02:32 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d59ea56e40877edaaeb8a04eba0f539f9d3621d2 commit d59ea56e40877edaaeb8a04eba0f539f9d3621d2 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-10-15 10:56:04 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-10-15 11:02:16 +0000 www/node18: fix build on powerpc64* In file included from ../deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc:6: In file included from ../deps/v8/src/codegen/assembler-inl.h:8: In file included from ../deps/v8/src/codegen/assembler.h:46: In file included from ../deps/v8/src/codegen/external-reference.h:9: In file included from ../deps/v8/src/runtime/runtime.h:11: ../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 3] for the enumeration type 'AddressingMode' [-Wenum-constexpr-conversion] static constexpr T kMax = static_cast<T>(kNumValues - 1); --- www/node18/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/node18/Makefile b/www/node18/Makefile index be5e33d67d24..f314b1133235 100644 --- a/www/node18/Makefile +++ b/www/node18/Makefile @@ -75,7 +75,7 @@ NLS_LIB_DEPENDS= libicui18n.so:devel/icu .include <bsd.port.pre.mk> -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && ${ARCH} == aarch64 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && (${ARCH} == aarch64 || ${ARCH:Mpowerpc64*}) CXXFLAGS+= -Wno-error=enum-constexpr-conversion .endif