Skip to content

Clang Support on FreeBSD #565

@NuLL3rr0r

Description

@NuLL3rr0r

Hello,
Unfortunately on FreeBSD systems whenever I do a npm install for most modules node-gyp assumes the compiler is g++. FreeBSD uses clang as it's default compiler and there is no g++.

This is an example issue that I had: kelektiv/node.bcrypt.js#270 (comment)

This solved the issue:
export CXX=clang++
npm install --clang=1

But on FreeBSD/Mac OS X systems it should switches to clang insted of gcc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions