mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
silence clang ‘unused include file/compiler flag’ warnings
This commit is contained in:
parent
f5f7f87ab6
commit
e2c6eb0ba1
1 changed files with 2 additions and 0 deletions
2
wscript
2
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue