diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-08 10:02:53 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-08 10:02:53 +0000 |
| commit | e0ce01d697dc48e3441716b99290b1017822aa2c (patch) | |
| tree | 7a116d81b89f32390b75c9f8a74e26aa04a97929 /wscript | |
| parent | 9e11d439b326b05a42706d94111ff75e7538acaf (diff) | |
Hide some warnings on OS X.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,8 +36,8 @@ def configure(conf): else: conf.env.append_value('CXXFLAGS', '-DLIBDCP_POSIX') - if not conf.env.TARGET_OSX: - conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter']) + if conf.env.TARGET_OSX: + conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef']) if conf.options.enable_openmp: conf.env.append_value('CXXFLAGS', '-fopenmp') |
