summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-03-17 10:44:28 +0000
committerYang Tse <yangsita@gmail.com>2010-03-17 10:44:28 +0000
commit7ce764fe7cd96d714c5bb6432bbba56c4cb56b37 (patch)
treeb6e1cb4035da00656d79c5e257ef3fb3a5a014f6 /m4
parent1cb7bccb6a4c779aace9a62c49c9191b2de98109 (diff)
downloadc-ares-7ce764fe7cd96d714c5bb6432bbba56c4cb56b37.tar.gz
c-ares-7ce764fe7cd96d714c5bb6432bbba56c4cb56b37.tar.bz2
c-ares-7ce764fe7cd96d714c5bb6432bbba56c4cb56b37.zip
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
Diffstat (limited to 'm4')
-rw-r--r--m4/cares-compilers.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4
index 7e1bb11..ae32988 100644
--- a/m4/cares-compilers.m4
+++ b/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