diff options
author | Jose Fonseca <[email protected]> | 2016-04-18 16:55:44 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-04-26 17:17:00 +0100 |
commit | a2fe35bcdf3d383aaa5ad915b80630c8895d703d (patch) | |
tree | 7d4776b2d5c06ca48705ca37d930717b4606d152 /src/gallium/drivers | |
parent | dcc3baf7331f7cb920a73e0349a7622bfe46f647 (diff) |
scons: Support Clang on Windows.
- Introduce 'gcc_compat' env flag, for all compilers that define __GNUC__,
(which includes Clang when it's not emulating MSVC.)
- Clang doesn't support whole program optimization
- Disable enumerator value warnings (not sure why Clang warns about them,
as my understanding is that MSVC promotes enums to unsigned ints
automatically.)
This is not enough to build with Clang + AddressSanitizer though. More
follow up changes will be required for that.
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions