Another macOS build fix.

This commit is contained in:
David Anderson 2021-07-11 22:10:02 -07:00
parent 9d4c9c5ce9
commit 5e7e1775bd

View File

@ -228,7 +228,10 @@ class AMXXConfig(object):
if have_clang: if have_clang:
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch'] cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cxx.version >= 'apple-clang-10.0': if cxx.version >= 'apple-clang-10.0':
cxx.cxxflags += ['-Wno-inconsistent-missing-override'] cxx.cxxflags += [
'-Wno-inconsistent-missing-override',
'-Wno-varargs',
]
if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4': if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4':
cxx.cxxflags += ['-Wno-deprecated-register'] cxx.cxxflags += ['-Wno-deprecated-register']
else: else: