diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-23 14:51:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-23 14:51:20 +0100 |
| commit | 4e6b78d055dc3e456c5dbea2cfd584268c1da452 (patch) | |
| tree | 53b020b6a09e60ef1b3228446b432c54e691077b /wscript | |
| parent | a545db4651e56eff854e2ed797f849b17bf108c9 (diff) | |
Fix to previous gcc version hack.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |
