From 4966f07945ca826d5d1f2c2d19892fee508503a9 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 27 Apr 2010 14:17:54 -0500 Subject: [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 --- config/pgi-flags | 9 +++++---- 1 file 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= -- cgit v0.12