From c67fd2cd6665cea388a78cf0cf1ca496f94480d2 Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Fri, 12 Feb 2010 17:09:32 +0000 Subject: [PATCH] Replace -g with -gopt to reduce quantity of debug info. [SVN r59661] --- src/tools/pgi.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/pgi.jam b/src/tools/pgi.jam index ca220235e..752dc5539 100644 --- a/src/tools/pgi.jam +++ b/src/tools/pgi.jam @@ -58,7 +58,7 @@ generators.register-fortran-compiler pgi.compile.fortran : FORTRAN : OBJ : shared : -fpic ; -flags pgi.compile OPTIONS on : -g ; +flags pgi.compile OPTIONS on : -gopt ; flags pgi.compile OPTIONS on : -xprofile=tcov ; flags pgi.compile OPTIONS speed : -fast -Mx,8,0x10000000 ; flags pgi.compile OPTIONS space : -xO2 -xspace ; @@ -92,7 +92,7 @@ actions compile.fortran } # Declare flags and actions for linking -flags pgi.link OPTIONS on : -g ; +flags pgi.link OPTIONS on : -gopt ; # Strip the binary when no debugging is needed flags pgi.link OPTIONS off : -s ; flags pgi.link OPTIONS on : -xprofile=tcov ;