diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-23 16:16:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-23 16:16:55 +0100 |
| commit | ea460149b3e87a11d3ed4b5c2d48aa980c0735d2 (patch) | |
| tree | 906b93f4068e7b88ddb796e16d2e2d22326fcbfb /wscript | |
| parent | 623ea4d25fb36b5e47b75c070e2abbd428d3754e (diff) | |
Hack to fix build on gcc 4.1.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -83,6 +83,10 @@ def configure(conf): '-Wno-deprecated-declarations', '-D_FILE_OFFSET_BITS=64']) + gcc = conf.env['CC_VERSION'] + if int(gcc[0]) >= 4 and int(gcc[1]) > 1: + conf.env.append_value('CXXFLAGS', ['-Wno-unused-result']) + if conf.options.enable_debug: conf.env.append_value('CXXFLAGS', ['-g', '-DDCPOMATIC_DEBUG', '-fno-omit-frame-pointer']) else: |
