diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-04-18 16:55:44 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-04-26 17:17:00 +0100 |
commit | a2fe35bcdf3d383aaa5ad915b80630c8895d703d (patch) | |
tree | 7d4776b2d5c06ca48705ca37d930717b4606d152 /include | |
parent | dcc3baf7331f7cb920a73e0349a7622bfe46f647 (diff) | |
download | external_mesa3d-a2fe35bcdf3d383aaa5ad915b80630c8895d703d.zip external_mesa3d-a2fe35bcdf3d383aaa5ad915b80630c8895d703d.tar.gz external_mesa3d-a2fe35bcdf3d383aaa5ad915b80630c8895d703d.tar.bz2 |
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 <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions