diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-07-25 07:46:11 +0100 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-07-25 07:48:01 +0100 |
commit | a315d93d509a19c72ad9bf76a9b903e8f4cb6f80 (patch) | |
tree | 7db6f5faf677e99f5b5ae895c5bed9619ea5df48 | |
parent | 07f40427f1f9a4ce7c2d36ee78702c3b6fec2dce (diff) | |
download | freebsd-ports-a315d93d509a19c72ad9bf76a9b903e8f4cb6f80.zip |
www/node18: Fix build with llvm16 on aarch64
PR: 272645
Approved by: portmgr (blanket)
-rw-r--r-- | www/node18/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/node18/Makefile b/www/node18/Makefile index 16b594e24d31..443bbd8c9ec4 100644 --- a/www/node18/Makefile +++ b/www/node18/Makefile @@ -98,4 +98,10 @@ post-configure: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && ${ARCH} == aarch64 +CXXFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + +.include <bsd.port.post.mk> |