From 9d4c9c5ce9f6267c7603bf1702926fc68f7044df Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 11 Jul 2021 22:04:48 -0700 Subject: [PATCH] Fix mac build. --- AMBuildScript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index c576fd58..59f3474b 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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: