diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-23 02:59:47 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-23 03:43:04 +0200 |
commit | e2c6eb0ba1948fa5b39216618f8e8d9fdbad30b0 (patch) | |
tree | 866fe1b328f1a1bea7bcfd1562003c2e201ee20c | |
parent | f5f7f87ab6073470a82f7e4ca1531b9d6e9a5de8 (diff) |
silence clang ‘unused include file/compiler flag’ warnings
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -217,6 +217,8 @@ def set_compiler_flags (conf,opt): if conf.options.cxx11 or conf.env['build_host'] in [ 'mavericks', 'yosemite' ]: conf.check_cxx(cxxflags=["-std=c++11"]) cxx_flags.append('-std=c++11') + c_flags.append('-Qunused-arguments') + cxx_flags.append('-Qunused-arguments') if platform == "darwin": cxx_flags.append('--stdlib=libstdc++') # Mavericks and later changed the syntax to be used when including Carbon headers, |