summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2008-05-06 19:29:56 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2008-05-06 19:29:56 (GMT)
commit4e094b5ee372a9f7ea4995784576fa21422ffd22 (patch)
tree682d003006699a10d79f715983cfff201acfece5 /config
parent0a896c59a89bce87c83255bb2ca4bda31accfd4b (diff)
downloadhdf5-4e094b5ee372a9f7ea4995784576fa21422ffd22.zip
hdf5-4e094b5ee372a9f7ea4995784576fa21422ffd22.tar.gz
hdf5-4e094b5ee372a9f7ea4995784576fa21422ffd22.tar.bz2
[svn-r14944] Maintenance: Disabled -O3 optimization for gcc 4.3
Diffstat (limited to 'config')
-rw-r--r--config/gnu-flags6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 29fdad8..b700038 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -149,7 +149,7 @@ case "$cc_vendor-$cc_version" in
gcc-2.95.[34])
PROD_CFLAGS="-O3"
;;
- gcc-3.[0-4]*|gcc-4.[012]*)
+ gcc-3.[0-4]*|gcc-4.[0123]*)
# The optimization level is reduced for gcc 3.* and 4.* due to problems
# with code generation for src/H5Tconv.c with the -O2 & -O3
# optimization levels (which shows up as failures for various integer
@@ -188,10 +188,10 @@ esac
# the information from the previous version and adding modifications to that.
case "$cc_vendor-$cc_version" in
-# Closer to the gcc 4.2 release, we should check for additional flags to
+# Closer to the gcc 4.4 release, we should check for additional flags to
# include and break it out into it's own section, like the other versions
# below. -QAK
- gcc-4.[12]*)
+ gcc-4.[123]*)
# Replace -ansi flag with -std=c99 flag
H5_CFLAGS="`echo $H5_CFLAGS | sed -e 's/-ansi/-std=c99/g'`"