diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index 9df5da46c209fd6ee334adbdf2913d0c696d970c..0a90d07904b00ae63c282537071e6216d854a51e 100644
--- a/ares/m4/cares-compilers.m4
+++ b/ares/m4/cares-compilers.m4
@@ -819,10 +819,10 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
         #
         if test "$want_warnings" = "yes"; then
           dnl Highest warning level is double -A, next is single -A.
-          dnl Due to the big number of warnings this triggers on third
-          dnl party header files it is impratical for us to use this
-          dnl warning level here. If you want them define it in CFLAGS.
-          tmp_CFLAGS="$tmp_CFLAGS -A"
+          dnl Due to the big number of warnings these trigger on third
+          dnl party header files it is impratical for us to use any of
+          dnl them here. If you want them simply define it in CPPFLAGS.
+          tmp_CFLAGS="$tmp_CFLAGS"
         fi
         ;;
         #
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index 586585a4fb7a0f66b4bae75c966344a3be4ba7f3..580be220bf05855200fba21d405c182437e3cc85 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -825,10 +825,10 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
         #
         if test "$want_warnings" = "yes"; then
           dnl Highest warning level is double -A, next is single -A.
-          dnl Due to the big number of warnings this triggers on third
-          dnl party header files it is impratical for us to use this
-          dnl warning level here. If you want them define it in CFLAGS.
-          tmp_CFLAGS="$tmp_CFLAGS -A"
+          dnl Due to the big number of warnings these trigger on third
+          dnl party header files it is impratical for us to use any of
+          dnl them here. If you want them simply define it in CPPFLAGS.
+          tmp_CFLAGS="$tmp_CFLAGS"
         fi
         ;;
         #