diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-10 17:35:22 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-10 17:35:22 +0000 |
commit | 7b3f86152a8bab28a287b3e00d401373ed0f19bc (patch) | |
tree | adc215e569872bb979a5bad0435b904235c1afb4 /configure.ac | |
parent | ea1362a9367f78f59dbeafd7fbaaaf633f0bbc6a (diff) | |
download | curl-7b3f86152a8bab28a287b3e00d401373ed0f19bc.tar.gz |
icc adjustments
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index c396e9508..89ea54afb 100644 --- a/configure.ac +++ b/configure.ac @@ -301,17 +301,17 @@ CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then AC_MSG_RESULT([yes]) dnl Select strict ANSI C conformance - CFLAGS="$CFLAGS -strict-ansi" + CPPFLAGS="$CPPFLAGS -strict-ansi" dnl Select ANSI C dialect - CFLAGS="$CFLAGS -std=c89" - dnl Disable use of ANSI C aliasing rules in optimizations - CFLAGS="$CFLAGS -no-ansi-alias" + CPPFLAGS="$CPPFLAGS -std=c89 -D__STRICT_ANSI__" dnl Change some warnings into errors dnl #140: too many arguments in function call dnl #147: declaration is incompatible with 'previous one' dnl #165: too few arguments in function call dnl #266: function declared implicitly - CFLAGS="$CFLAGS -we 140,147,165,266" + CPPFLAGS="$CPPFLAGS -we 140,147,165,266" + dnl Disable use of ANSI C aliasing rules in optimizations + CFLAGS="$CFLAGS -no-ansi-alias" else AC_MSG_RESULT([no]) fi |