From: Yang Tse Date: Thu, 2 Dec 2010 18:09:15 +0000 (+0100) Subject: configure: undo using autobuilds to temporarily verify strict aliasing warnings. X-Git-Tag: curl-7_21_3~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd5d3518e491f1294f7af9213c204a5bf4e17df3;p=curl configure: undo using autobuilds to temporarily verify strict aliasing warnings. --- diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 44998c06e..413293b10 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -935,11 +935,6 @@ AC_DEFUN([CURL_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