diff options
author | Jose Fonseca <[email protected]> | 2015-03-04 14:23:52 +0000 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-03-04 15:12:06 +0000 |
commit | 00faf9f00059370bc20ebeaf00884c2d8ef15a74 (patch) | |
tree | 413ad99d58123d206e133e1bd455b0cf94f6cf57 /src/gallium | |
parent | 3acd7a34ab05b87521b74f626ec637e7fdcc6595 (diff) |
scons: Use -Werror MSVC compatibility flags per-directory.
Matching what we already do with autotools builds.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/SConscript | 4 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/SConscript | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript index 6cb6b8c6565..d5fa880c7f2 100644 --- a/src/gallium/auxiliary/SConscript +++ b/src/gallium/auxiliary/SConscript @@ -8,6 +8,10 @@ env.Append(CPPPATH = [ 'util', ]) +env = env.Clone() + +env.MSVC2008Compat() + env.CodeGenerate( target = 'indices/u_indices_gen.c', script = 'indices/u_indices_gen.py', diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 1bea61151c6..3a51efcd506 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -9,6 +9,8 @@ if not env['llvm']: env = env.Clone() +env.MSVC2008Compat() + llvmpipe = env.ConvenienceLibrary( target = 'llvmpipe', source = env.ParseSourceList('Makefile.sources', 'C_SOURCES') |