diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index e3eade8c88..369ecaefbb 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -410,7 +410,7 @@ if test x$GXX = xyes; then if test x$enable_warnings = xyes ; then AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra" case $gxx_version in - 9.*|clang-10*) + 9.*|10.*|clang-10*) AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy";; *);; esac