summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-07-27 13:09:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-07-27 13:09:55 (GMT)
commitad2f3285b3a0e55aab2014c9e395009df758fef6 (patch)
tree8a2322a4ad02a2f8800048275c5d2578f198ac9e /config
parent95330f3e60fd3756231a6a8e95cac21ed895a55b (diff)
downloadhdf5-ad2f3285b3a0e55aab2014c9e395009df758fef6.zip
hdf5-ad2f3285b3a0e55aab2014c9e395009df758fef6.tar.gz
hdf5-ad2f3285b3a0e55aab2014c9e395009df758fef6.tar.bz2
[svn-r19131] 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')
-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"