Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2023 06:49:16 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a315d93d509a - main - www/node18: Fix build with llvm16 on aarch64
Message-ID:  <202307250649.36P6nGFt071349@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a315d93d509a19c72ad9bf76a9b903e8f4cb6f80

commit a315d93d509a19c72ad9bf76a9b903e8f4cb6f80
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-07-25 06:46:11 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-07-25 06:48:01 +0000

    www/node18: Fix build with llvm16 on aarch64
    
    PR:             272645
    Approved by:    portmgr (blanket)
---
 www/node18/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307250649.36P6nGFt071349>