diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 19:17:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-27 19:17:54 (GMT) |
commit | 4966f07945ca826d5d1f2c2d19892fee508503a9 (patch) | |
tree | 12de19fcef19bf6bea8e4d20dba07a15ab6ea59d /config/pgi-flags | |
parent | e4ee157c86ea837ba8297c50cefdc296e8401094 (diff) | |
download | hdf5-4966f07945ca826d5d1f2c2d19892fee508503a9.zip hdf5-4966f07945ca826d5d1f2c2d19892fee508503a9.tar.gz hdf5-4966f07945ca826d5d1f2c2d19892fee508503a9.tar.bz2 |
[svn-r18636] Description:
More tweaks to PGI compile flags, to avoid too many warnings in system
header files.
Tested on:
Linux/64 2.4 (amani) w/PGI 9.x & 10.x
Diffstat (limited to 'config/pgi-flags')
-rw-r--r-- | config/pgi-flags | 9 |
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= |