summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/pgi-flags9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/pgi-flags b/config/pgi-flags
index 287ccce..664b37b 100644
--- a/config/pgi-flags
+++ b/config/pgi-flags
@@ -68,15 +68,16 @@ if test "X-pgcc" = "X-$cc_vendor"; then
#esac
# General
- H5_CFLAGS="$H5_CFLAGS $arch -Xa -c99 -Minform=inform"
+ H5_CFLAGS="$H5_CFLAGS $arch -c99 -Minform=inform"
# Production
case "$cc_vendor-$cc_version" in
- pgcc-10.*)
- PROD_CFLAGS="-fast -s"
+ # Tweak down compiler optimizations for v9.x
+ pgcc-9.*)
+ PROD_CFLAGS="-O1 -s"
;;
*)
- PROD_CFLAGS="-O1 -s"
+ PROD_CFLAGS="-fast -s"
;;
esac
PROD_CPPFLAGS=