PKGNAME=nodejs-26
PKGSEC=devel
# FIXME: ICU is now bundled into nodejs-26, see buildscript
PKGDEP="zlib brotli libuv openssl ca-certs nghttp2 nghttp3 ngtcp2 sqlite zstd ada libffi llhttp simdutf hdrhistogram-c"
BUILDDEP="python-3 rustc llvm"
PKGDES="JavaScript runtime built on the V8 JavaScript engine (Current branch 26.x)"

ABTYPE=self

# https://github.com/nodejs/node/issues/44195#issuecomment-1545966528
NOLTO=1

# https://github.com/nodejs/node/blob/9027f29e6d5de49842905d0ed082ad5907e80d78/common.gypi#L503
AB_FLAGS_EXC=0

# FIXME: a lot of errors in LIEF, v8 and highway
USECLANG=1
