From 618e34bcf69eafe930dd657b379676cc625062d3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 2 Dec 2010 19:08:46 +0100 Subject: [PATCH] configure: undo using autobuilds to temporarily verify strict aliasing warnings. --- m4/cares-compilers.m4 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4 index 695c82a3..3a573897 100644 --- a/m4/cares-compilers.m4 +++ b/m4/cares-compilers.m4 @@ -931,11 +931,6 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ dnl Also, on gcc 4.0.X it is totally unbearable and complains all dnl over making it unusable for generic purposes. Let's not use it. tmp_CFLAGS="$tmp_CFLAGS" - dnl When cross-compiling with gcc 3.0 or later, - dnl enable strict aliasing rules and warnings. - if test "x$cross_compiling" = "xyes"; then - tmp_CFLAGS="$tmp_CFLAGS -fstrict-aliasing -Wstrict-aliasing=2" - fi fi # dnl Only gcc 3.3 or later