diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-10 20:33:59 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-10 20:33:59 (GMT) |
commit | 44d66c87401b38b2be0ca7875d9c72c222cd268f (patch) | |
tree | b2a0e5a891a476f310accdd51595e08adc34cdab /SConstruct | |
parent | 7459eb89d67db4d1245603b3c7cde1140a999474 (diff) | |
download | swift-contrib-44d66c87401b38b2be0ca7875d9c72c222cd268f.zip swift-contrib-44d66c87401b38b2be0ca7875d9c72c222cd268f.tar.bz2 |
Remove MSVC warn flags by default.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ if int(ARGUMENTS.get("universal", 0)) == 1 : "-arch", "i386", "-arch", "ppc"]) -if int(ARGUMENTS.get("warnings", 1)) == 1 : - if env["PLATFORM"] == "win32" : +if int(ARGUMENTS.get("warnings", env["PLATFORM"] != "win32")) == 1 : + if env["PLATFORM"] != "win32" : env.Append(CCFLAGS = ["/Wall"]) else : env.Append(CCFLAGS = ["-W", "-Wall"]) |