summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-23 02:59:47 +0200
committerRobin Gareus <robin@gareus.org>2014-10-23 03:43:04 +0200
commite2c6eb0ba1948fa5b39216618f8e8d9fdbad30b0 (patch)
tree866fe1b328f1a1bea7bcfd1562003c2e201ee20c
parentf5f7f87ab6073470a82f7e4ca1531b9d6e9a5de8 (diff)
silence clang ‘unused include file/compiler flag’ warnings
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 84792f461a..d46a70e75d 100644
--- a/wscript
+++ b/wscript
@@ -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,