From ad2f3285b3a0e55aab2014c9e395009df758fef6 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 27 Jul 2010 08:09:55 -0500 Subject: [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 --- config/pgi-flags | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v0.12