diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-28 12:27:08 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-28 12:27:08 +0000 |
| commit | cede52db83615fb615ff9bf087eec50131402da2 (patch) | |
| tree | 743172d0a69e960fc192669a470b84f8b437b89a /wscript | |
| parent | e40633c2a2bcd2f5ac00c73365845c389213f8db (diff) | |
Fix complaints about warnings on OS X.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -81,8 +81,6 @@ def configure(conf): '-Wcast-align', '-Wextra', '-Wwrite-strings', - '-Wunsafe-loop-optimizations', - '-Wlogical-op', # Remove auto_ptr warnings from libxml++-2.6 '-Wno-deprecated-declarations', '-D_FILE_OFFSET_BITS=64']) @@ -140,6 +138,7 @@ def configure(conf): # POSIX if conf.env.TARGET_LINUX or conf.env.TARGET_OSX: conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_POSIX') + conf.env.append_value('CXXFLAGS', ['-Wunsafe-loop-optimizations', '-Wlogical-op']) boost_lib_suffix = '' boost_thread = 'boost_thread' conf.env.append_value('LINKFLAGS', '-pthread') |
