diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-17 17:26:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-11-17 17:26:01 +0100 |
| commit | 66d566201f832974671828cc417721d7ff3c94b2 (patch) | |
| tree | b554f8eeaa8eced014dddb4e1553c9c4610fd17a | |
| parent | 25a30bf3c451fffff47d38e3b86e4dbc9b0d953a (diff) | |
Try to do -Wno-deprecated-copy only on Linux.
| -rw-r--r-- | wscript | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -108,8 +108,6 @@ def configure(conf): '-Wno-deprecated-declarations', '-Wno-ignored-qualifiers', '-Wno-parentheses', - # Remove lots of warnings from wxWidgets with newer gcc - '-Wno-deprecated-copy', '-D_FILE_OFFSET_BITS=64']) if conf.options.force_cpp11: @@ -179,7 +177,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DLINUX_LOCALE_PREFIX="%s/share/locale"' % conf.env['INSTALL_PREFIX']) conf.env.append_value('CXXFLAGS', '-DLINUX_SHARE_PREFIX="%s/share/dcpomatic2"' % conf.env['INSTALL_PREFIX']) conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_LINUX') - conf.env.append_value('CXXFLAGS', ['-Wlogical-op']) + conf.env.append_value('CXXFLAGS', ['-Wlogical-op', '-Wno-deprecated-copy']) if not conf.env.DISABLE_GUI: conf.check_cfg(package='gtk+-2.0', args='--cflags --libs', uselib_store='GTK', mandatory=True) |
