From 4e6b78d055dc3e456c5dbea2cfd584268c1da452 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 May 2016 14:51:20 +0100 Subject: [PATCH] Fix to previous gcc version hack. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 38dada21..6b5207a6 100644 --- a/wscript +++ b/wscript @@ -40,7 +40,7 @@ def configure(conf): conf.load('compiler_cxx') conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-D_FILE_OFFSET_BITS=64', '-D__STDC_FORMAT_MACROS']) gcc = conf.env['CC_VERSION'] - if gcc[0] >= 4 and gcc[1] > 1: + if int(gcc[0]) >= 4 and int(gcc[1]) > 1: conf.env.append_value('CXXFLAGS', ['-Wno-maybe-uninitialized']) conf.env.append_value('CXXFLAGS', ['-DLIBDCP_VERSION="%s"' % VERSION]) -- 2.30.2