We currently have an 'experimental' --clang flag, which is intended to enable building with clang, and which interacts with the --cc and --cxx flags in non-obvious ways.
We should deprecate this flag in favor of detecting whether the compiler that has been selected is in fact clang or not and taking whatever action is necessary to build correctly with clang.
- related to
-
SERVER-8465 SCons should honor CC and CXX from the environment
- Closed
-
SERVER-8467 Official support for building with clang
- Closed