diff options
author | José Fonseca <[email protected]> | 2008-02-24 17:58:18 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-24 17:58:18 +0900 |
commit | 2bebeef81bd723b0b09c748d5e3331e51b48db60 (patch) | |
tree | d980984f29087cb3f94b90579f447397efbfadbb /winddk.py | |
parent | fdcb9260eea8f9b9deaeeade2a46cffbf3dcaa59 (diff) |
Update some msvc compiler flags.
Diffstat (limited to 'winddk.py')
-rw-r--r-- | winddk.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winddk.py b/winddk.py index 1a5a0d1aa74..a54abf0e928 100644 --- a/winddk.py +++ b/winddk.py @@ -213,7 +213,7 @@ def generate(env): SCons.Tool.mslink.generate(env) # See also: - # - WINDDK's bin/makefile.new for more info. + # - WINDDK's bin/makefile.new i386mk.inc for more info. # - http://alter.org.ua/docs/nt_kernel/vc8_proj/ env.Append(CPPDEFINES = [ 'WIN32', @@ -232,10 +232,10 @@ def generate(env): ]) cflags = [ '/GF', # Enable String Pooling - #'/EHsc', # Enable C++ Exceptions + '/GX-', # Disable C++ Exceptions '/Zp8', # 8bytes struct member alignment #'/GS-', # No Buffer Security Check - #'/GR-', # Disable Run-Time Type Info + '/GR-', # Disable Run-Time Type Info '/Gz', # __stdcall Calling convention ] env.Append(CFLAGS = cflags) |