summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConscript.boot2
1 files changed, 2 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index df15937..5fc99f3 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -307,6 +307,8 @@ if env["PLATFORM"] == "posix" and platform.machine() in ["x86_64", "amd64"] :
# Warnings
if env["PLATFORM"] == "win32" :
env.Append(CXXFLAGS = ["/wd4068"])
+ if not env.get("allow_warnings", "False") :
+ env.Append(CXXFLAGS = ["/WX"])
elif env["PLATFORM"] == "hpux" :
# HP-UX gives a flood of minor warnings if this is enabled
#env.Append(CXXFLAGS = ["+w"])