Vaibhav Bajpai | Blog

Default to clang on Mac OS X

20 May 2012

The default compiler on Mac OS X Lion is gcc-llvm.
I have decided to default to clang to take advantage of its static analysis capabilities:

export CC=clang
export CPP=c++
export CXX=c++
Fork me on GitHub