From f99e0b9f75df7b9964c650b0ac0a0378dbb1a209 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 27 Jul 2010 08:10:18 -0500 Subject: [svn-r19132] 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