Another macOS build fix.

This commit is contained in:
David Anderson 2021-07-11 22:10:02 -07:00
parent 344fb3d410
commit 97b03ea567

View File

@ -222,7 +222,10 @@ class AMXXConfig(object):
if have_clang or (have_gcc and cxx.version >= '4.6'):
cxx.cflags += ['-Wno-narrowing']
if (have_gcc and cxx.version >= '4.7') or (have_clang and cxx.version >= '3'):
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
cxx.cxxflags += [
'-Wno-delete-non-virtual-dtor',
'-Wno-varargs',
]
if have_gcc and cxx.version >= '4.8':
cxx.cflags += ['-Wno-unused-result', '-Wno-error=sign-compare']
if have_clang: