aboutsummaryrefslogtreecommitdiff
path: root/ares/m4
diff options
context:
space:
mode:
Diffstat (limited to 'ares/m4')
-rw-r--r--ares/m4/cares-compilers.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index ac4fc07e9..c1ad12bc4 100644
--- a/ares/m4/cares-compilers.m4
+++ b/ares/m4/cares-compilers.m4
@@ -700,7 +700,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
- tmp_CFLAGS="$tmp_CFLAGS +w1"
+ dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
+ dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
+ dnl warning level. Until the issue is somehow fixed we will just
+ dnl use the +w2 warning level.
+ tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#