diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-07 18:15:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-07 18:15:39 +0200 |
| commit | b68a460c3ef877d95c0939b5ee02928f35e9f263 (patch) | |
| tree | aef164601340acbcf3382616611ee4b3a7b65367 /wscript | |
| parent | 981cfb7c0050a3ff3b5d01dc787226f6e9d7ff91 (diff) | |
Fix build on old GCC.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ def configure(conf): if conf.env.TARGET_OSX: conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef']) conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names') - else: + elif int(gcc[0]) >= 4 and int(gcc[1]) > 1: conf.env.append_value('CXXFLAGS', ['-Wsuggest-override']) # Disable libxml++ deprecation warnings for now |
