www/node18: Fix build with llvm16 on aarch64
PR: 272645 Approved by: portmgr (blanket)
This commit is contained in:
parent
07f40427f1
commit
a315d93d50
1 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue