summaryrefslogtreecommitdiffstats
path: root/config/pgi-flags
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-07-27 13:10:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-07-27 13:10:18 (GMT)
commitf99e0b9f75df7b9964c650b0ac0a0378dbb1a209 (patch)
tree33efb026eb609ea6663fff47d35a2c1236a81608 /config/pgi-flags
parent5ef52d534e8dbbdbafc74bcc89bc6f2c9f14d3db (diff)
downloadhdf5-f99e0b9f75df7b9964c650b0ac0a0378dbb1a209.zip
hdf5-f99e0b9f75df7b9964c650b0ac0a0378dbb1a209.tar.gz
hdf5-f99e0b9f75df7b9964c650b0ac0a0378dbb1a209.tar.bz2
[svn-r19132] Description:
Reduce compiler optimizations for v10.6, to work around bug with static constant char *'s. Tested on: Linux/32 2.4 (jam) w/PGI
Diffstat (limited to 'config/pgi-flags')
-rw-r--r--config/pgi-flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/pgi-flags b/config/pgi-flags
index 664b37b..3d481bd 100644
--- a/config/pgi-flags
+++ b/config/pgi-flags
@@ -72,6 +72,10 @@ if test "X-pgcc" = "X-$cc_vendor"; then
# Production
case "$cc_vendor-$cc_version" in
+ # Tweak down compiler optimizations for v10.6, it has a bug
+ pgcc-10.6*)
+ PROD_CFLAGS="-O1 -s"
+ ;;
# Tweak down compiler optimizations for v9.x
pgcc-9.*)
PROD_CFLAGS="-O1 -s"