-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clang Support on FreeBSD #565
Comments
Hi, I am using
before using |
@saper thanks a lot, that worked for me when installing leveldown on FreeBSD 9.3 |
And for windows? |
@Globik Are you using clang on Windows? |
@saper yes, for tests, at a very beginning right now. |
There is probably much more work to do for such a setup:
This bug is about detecting and using clang in an environment where it is a known working compiler, in sod cases the only one installed. |
Building https://github.com/kelektiv/node.bcrypt.js with |
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.
The text was updated successfully, but these errors were encountered: