From: José Fonseca Date: Sun, 24 Feb 2008 08:58:18 +0000 (+0900) Subject: Update some msvc compiler flags. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bebeef81bd723b0b09c748d5e3331e51b48db60;p=mesa.git Update some msvc compiler flags. --- 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)