From 335e3869b7af59314255a121ec7ed0f6309b06e7 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 12 Jun 2019 22:51:08 -0700 Subject: [PATCH] configure: Another flag for macOS distcheck: -Wno-error=nested-anon-types Signed-off-by: Anders Kaseorg --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index c0dc237..fba7ad7 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,8 @@ AC_ARG_ENABLE([compile-warnings], [PICKY_CXXFLAGS="$PICKY_CXXFLAGS -Wno-error=c++11-extensions"], [], [-Werror]) AX_CHECK_COMPILE_FLAG([-Wno-error=deprecated-declarations], [PICKY_CXXFLAGS="$PICKY_CXXFLAGS -Wno-error=deprecated-declarations"], [], [-Werror]) + AX_CHECK_COMPILE_FLAG([-Wno-error=nested-anon-types], + [PICKY_CXXFLAGS="$PICKY_CXXFLAGS -Wno-error=nested-anon-types"], [], [-Werror]) AC_LANG_POP(C++) ;; *)