From 97b03ea5672a7c65f5dd18b63d1328c577d5e049 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 11 Jul 2021 22:10:02 -0700 Subject: [PATCH] Another macOS build fix. --- AMBuildScript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index 59f3474b..70711cc1 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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: