From d9291eb4b8fbb591321760d7dfcc514c14ce4e35 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 17 Mar 2010 10:44:28 +0000 Subject: replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing --- ares/m4/cares-compilers.m4 | 6 +++--- m4/curl-compilers.m4 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 7e1bb11e7..ae32988d7 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -1,7 +1,7 @@ #*************************************************************************** # $Id$ # -# Copyright (C) 2009 by Daniel Stenberg et al +# Copyright (C) 2009-2010 by Daniel Stenberg et al # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose and without fee is hereby granted, provided @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 63 +# serial 65 dnl CARES_CHECK_COMPILER @@ -1012,7 +1012,7 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ dnl Disable using EBP register in optimizations tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer" dnl Disable use of ANSI C aliasing rules in optimizations - tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias" + tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing" dnl Value-safe optimizations on floating-point data tmp_CFLAGS="$tmp_CFLAGS -fp-model precise" dnl Only icc 10.0 or later diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index c88917a69..9577bf738 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 52 +# serial 55 dnl CURL_CHECK_COMPILER @@ -1022,7 +1022,7 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ dnl Disable using EBP register in optimizations tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer" dnl Disable use of ANSI C aliasing rules in optimizations - tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias" + tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing" dnl Value-safe optimizations on floating-point data tmp_CFLAGS="$tmp_CFLAGS -fp-model precise" dnl Only icc 10.0 or later -- cgit v1.2.3