diff options
Diffstat (limited to 'webkit/build/V8Bindings')
-rw-r--r-- | webkit/build/V8Bindings/SConscript | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/webkit/build/V8Bindings/SConscript b/webkit/build/V8Bindings/SConscript index 227f95e..55bfa7a 100644 --- a/webkit/build/V8Bindings/SConscript +++ b/webkit/build/V8Bindings/SConscript @@ -32,22 +32,23 @@ Import('env') env = env.Clone() -env.Prepend( - CPPDEFINES = [ - 'NOGDI', - ], +if env['PLATFORM'] == 'win32': + env.Prepend( + CPPDEFINES = [ + 'NOGDI', + ], - CCFLAGS = [ - '/TP', + CCFLAGS = [ + '/TP', - '/wd4291', - '/wd4099', - '/wd4996', - '/wd4521', - '/wd4244', - '/wd4800', - ], -) + '/wd4291', + '/wd4099', + '/wd4996', + '/wd4521', + '/wd4244', + '/wd4800', + ], + ) inputs = [ '$DERIVED_DIR/V8MimeType.cpp', |