build: fix bsd build with gcc
BSD build with GCC was breaking because it was checking for the llvm_version
variable on common.gypi
, even though LLVM wasn't installed (or needed). When
LLVM wasn't installed, llvm_version
wasn't being defined, causing the build to break.
Fixes: https://github.com/nodejs/node/issues/16257
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
build