From bd8af5feb9b61f42c15cab77b19a58dfd93afa06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 15 Apr 2010 23:00:11 +0200
Subject: Fix for the previous fix.


diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 5f4a984..136479a 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -100,7 +100,8 @@ if env["warnings"] :
 	else :
 		env.Append(CCFLAGS = ["-W", "-Wall"])
 		#env.Append(CCFLAGS = ["-W", "-Wall", "-Wredundant-decls", "-pedantic", "-Wno-long-long", "-Woverloaded-virtual", "-Wundef", "-Wfloat-equal", "-Wold-style-cast"])
-		if env["CCVERSION"].split(".")[0] > 4 or onv["CCVERSION"].split(".")[1] >= 5 :
+		gccVersion = env["CCVERSION"].split(".")
+		if gccVersion >= ["4", "5", "0"] :
 			env.Append(CCFLAGS = ["-Wlogical-op"])
 
 if env.get("coverage", 0) :
-- 
cgit v0.10.2-6-g49f6