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 ;