Commit 643933f5 authored by Mans Rullgard's avatar Mans Rullgard

build: add LTO support for PGI compiler

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 8f23907f
......@@ -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 ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment