From 44d66c87401b38b2be0ca7875d9c72c222cd268f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Mon, 10 Aug 2009 22:33:59 +0200
Subject: Remove MSVC warn flags by default.


diff --git a/SConstruct b/SConstruct
index 541f2a8..87a2f4c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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"])
-- 
cgit v0.10.2-6-g49f6