summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-08-15 18:56:44 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-08-15 18:56:44 (GMT)
commitb018e9589e932dcad4495a4bb2cd528087b8e78d (patch)
treea1ae3f4288d8d357c244128f45a531629d80bb8b /config
parent32ab3519fb1eb541ae1c613ecec63d5efcdefd85 (diff)
downloadhdf5-b018e9589e932dcad4495a4bb2cd528087b8e78d.zip
hdf5-b018e9589e932dcad4495a4bb2cd528087b8e78d.tar.gz
hdf5-b018e9589e932dcad4495a4bb2cd528087b8e78d.tar.bz2
[svn-r12579] Description:
-O3 flag causes compilation problems on most of the platforms with Intel compiler. The problem exists in all vesrions of icc compiler up to the newest 9.1 Solution: Use less agressive default setting O2 to avoid headache Platforms tested: Linux 2.6 ia64 at UCAR (hal), cobalt (NCSA)
Diffstat (limited to 'config')
-rw-r--r--config/intel-flags6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 2403c30..3af224a 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -71,7 +71,11 @@ if test "X-icc" = "X-$cc_vendor"; then
# Production
# -Wl,-s to remove all symbols for smaller file
- PROD_CFLAGS="-O3 -Wl,-s"
+ # O3 optimization causes compilation failures on many platforms;
+ # the problem exists in all versions of the icc compiler up to the latest 9.1
+ # I changed optimization flag to default -O2. EIP, 2006-08-15
+ #PROD_CFLAGS="-O3 -Wl,-s"
+ PROD_CFLAGS="-O2 -Wl,-s"
PROD_CPPFLAGS=
# Debug