1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-09 17:33:56 +00:00

configure: undo using autobuilds to temporarily verify strict aliasing warnings.

This commit is contained in:
Yang Tse
2010-12-02 19:08:46 +01:00
parent a1c27d5480
commit 618e34bcf6

View File

@ -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