projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a545db4
)
Fix to previous gcc version hack.
author
Carl Hetherington
<cth@carlh.net>
Mon, 23 May 2016 13:51:20 +0000
(14:51 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 23 May 2016 13:51:20 +0000
(14:51 +0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 38dada21d63dccac207c60f13d9929c43c63292a..6b5207a6656ac20b20cf885b274d14b1bfac25b6 100644
(file)
--- 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])