• Jose Fonseca's avatar
    scons: Support Clang on Windows. · a2fe35bc
    Jose Fonseca authored
    - 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: default avatarRoland Scheidegger <sroland@vmware.com>
    Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
    a2fe35bc
Name
Last commit
Last update
..
crossmingw.py Loading commit data...
custom.py Loading commit data...
dxsdk.py Loading commit data...
fixes.py Loading commit data...
gallium.py Loading commit data...
llvm.py Loading commit data...
source_list.py Loading commit data...
x11.py Loading commit data...