mesa/scons
Jose Fonseca a2fe35bcdf 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>
2016-04-26 17:17:00 +01:00
..
crossmingw.py scons: Search only for mingw-w64 cross-compilers. 2014-06-06 13:15:37 +01:00
custom.py scons: do not include headers from the sources lists 2014-08-14 15:38:04 +01:00
dxsdk.py scons: Allow to use MS's DXSDK headers with MinGW. 2009-09-14 20:12:01 +01:00
fixes.py
gallium.py scons: Support Clang on Windows. 2016-04-26 17:17:00 +01:00
llvm.py scons: support for LLVM 3.7. 2015-12-08 13:53:31 +00:00
source_list.py scons: Populate top_srcdir and top_builddir variables when reading Makefiles.sources. 2012-08-14 12:19:56 +01:00
x11.py scons: Restore x11 tool behavior for backwards compatability. 2010-11-01 14:37:18 +00:00