diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-07-05 19:08:58 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-07-05 19:08:58 (GMT) |
commit | ac75ce4141e000ce3a32e02710ae9b9f2a1fbe7f (patch) | |
tree | c03450a25b2e7474e0f649e5518e5c8434d1d0f5 /configure | |
parent | 7c7a856c5fe4091636c0b6a58a0d841bda5cefce (diff) | |
download | hdf5-ac75ce4141e000ce3a32e02710ae9b9f2a1fbe7f.zip hdf5-ac75ce4141e000ce3a32e02710ae9b9f2a1fbe7f.tar.gz hdf5-ac75ce4141e000ce3a32e02710ae9b9f2a1fbe7f.tar.bz2 |
[svn-r11019] Purpose: Add detection
Description: pgcc version 6.0x have optimization (-O, -O2, or -O3) problem.
It caused multi driver test to fail. The problem happened in a macro
definition.
Solution: Detect these versions and add option "-Mx,28,0x8" to the compiler
to avoid the problem if optimization is enable.
Platforms tested: mir and fuss - simple change.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21774,6 +21774,10 @@ q EOF fi +if (${CC-cc} -V 2>&1 | grep '^pgcc 6.0') > /dev/null && test "X$enable_production" = "Xyes"; then + CC="${CC-cc} -Mx,28,0x8" +fi + case "$INSTALL" in *install-sh*) INSTALL='\${top_srcdir}/bin/install-sh -c' |