build: add LTO support for PGI compiler
authorMans Rullgard <mans@mansr.com>
Fri, 5 Oct 2012 02:42:12 +0000 (03:42 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 8 Oct 2012 21:30:41 +0000 (22:30 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index d4fcd1f..3e22d83 100755 (executable)
--- a/configure
+++ b/configure
@@ -2151,6 +2151,7 @@ msvc_flags(){
 pgi_flags(){
     for flag; do
         case $flag in
+            -flto)                echo -Mipa=fast,libopt,libinline,vestigial ;;
             -fomit-frame-pointer) echo -Mnoframe ;;
             -g)                   echo -gopt ;;
             *)                    echo $flag ;;