diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2012-10-10 05:03:36 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2012-10-10 05:03:36 (GMT) |
commit | 10ab09069deccfcf24bc224932e0271c55a6e6b9 (patch) | |
tree | 89ebf9b4ff00d9ce3f86b1475ad5f50514736e15 /testpar | |
parent | 990fdaed07823362929db38238a9092ecc3d4487 (diff) | |
download | hdf5-10ab09069deccfcf24bc224932e0271c55a6e6b9.zip hdf5-10ab09069deccfcf24bc224932e0271c55a6e6b9.tar.gz hdf5-10ab09069deccfcf24bc224932e0271c55a6e6b9.tar.bz2 |
[svn-r22879] Bug Fix: HDFFV 8017
dt_arith would fail in Lion and Mountain Lion system when GCC version 4.2.1
is used with --enable-production. Somehow the -O optimization will fail some of
the hard conversion code.
Solution:
This is just a temporary patch by detecting if this is a Lion or Mountain Lion
system using GCC 4.2.1, then just remove the any -O option from the PROD_CFLAGS.
A better fix should be deviced later.
Tested: Duck(lion) and Owl (mountain lion) tested with --enable-production.
Also tested in Fred and Tejeda, both Snow Leopard systems to verify there is
no undesired side effect.
Diffstat (limited to 'testpar')
0 files changed, 0 insertions, 0 deletions