diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-07 14:55:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-07 14:55:45 (GMT) |
commit | 4da1a7de065f3c7885bc8dd0697decfbae38f0da (patch) | |
tree | 6362327fa482fdad090fd9e3efb4e11a6119e66e /fortran/config | |
parent | 81acec07595414567a2731e4ec66deed4964e598 (diff) | |
download | hdf5-4da1a7de065f3c7885bc8dd0697decfbae38f0da.zip hdf5-4da1a7de065f3c7885bc8dd0697decfbae38f0da.tar.gz hdf5-4da1a7de065f3c7885bc8dd0697decfbae38f0da.tar.bz2 |
[svn-r9626] Purpose:
Code cleanup
Description:
Clean/fix up compiler flags to be more consistent after recent changes.
Platforms tested:
None - eyeballed - very minor
Diffstat (limited to 'fortran/config')
-rw-r--r-- | fortran/config/intel-flags | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/fortran/config/intel-flags b/fortran/config/intel-flags index 99b2537..e3e28f3 100644 --- a/fortran/config/intel-flags +++ b/fortran/config/intel-flags @@ -53,14 +53,14 @@ if test "X-icc" = "X-$cc_vendor"; then #esac # General - CFLAGS="$CFLAGS $arch -Wall -Wcheck" + CFLAGS="${CFLAGS:--std=c99} $arch" # Production PROD_CFLAGS="-O3" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g" + DEBUG_CFLAGS="-Wcheck -Wall -g -O0" DEBUG_CPPFLAGS= # Profile @@ -73,6 +73,17 @@ if test "X-icc" = "X-$cc_vendor"; then fi +# Version specific ICC flags +# +# Please follow the pattern below by adding new versions at the top, copying +# the information from the previous version and adding modifications to that. +case "$cc_vendor-$cc_version" in + icc-8.0*) + # v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2. + PROD_CFLAGS="-O2" + ;; +esac + # Clear cc info if no flags set if test "X-$cc_flags_set" = "X-"; then cc_vendor= |