]> git.lyx.org Git - lyx.git/blobdiff - config/lyxinclude.m4
Update it.po
[lyx.git] / config / lyxinclude.m4
index 164b2f7a89ef24cfbb80a52ba2431a3c24919ad0..59421ae2251f1db5efad7c8a948ac95860cc8ee4 100644 (file)
@@ -410,9 +410,11 @@ if test x$GXX = xyes; then
   fi
   dnl Warnings are for preprocessor too
   if test x$enable_warnings = xyes ; then
+      AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
       case $gxx_version in
-         9.*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra -Wno-deprecated-copy";;
-         *) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra";;
+         9.*|10.*|clang-10*)
+             AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy";;
+         *);;
       esac
     fi
   case $gxx_version in