Skip to content

Commit

Permalink
Fix mac build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Jul 12, 2021
1 parent 2064e22 commit 9d4c9c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AMBuildScript
Expand Up @@ -227,6 +227,8 @@ class AMXXConfig(object):
cxx.cflags += ['-Wno-unused-result', '-Wno-error=sign-compare']
if have_clang:
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cxx.version >= 'apple-clang-10.0':
cxx.cxxflags += ['-Wno-inconsistent-missing-override']
if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4':
cxx.cxxflags += ['-Wno-deprecated-register']
else:
Expand Down

0 comments on commit 9d4c9c5

Please sign in to comment.