FreeBSD Bugzilla – Attachment 243594 Details for
Bug 272645
www/node18: Unbreak clang16 on aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use COMPILER_VERSION check
node18-fix-llvm16-aarch64.diff (text/plain), 469 bytes, created by
Nuno Teixeira
on 2023-07-24 19:24:18 UTC
(
hide
)
Description:
Use COMPILER_VERSION check
Filename:
MIME Type:
Creator:
Nuno Teixeira
Created:
2023-07-24 19:24:18 UTC
Size:
469 bytes
patch
obsolete
>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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272645
:
243531
| 243594