aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-05 03:42:12 +0100
committerMans Rullgard <mans@mansr.com>2012-10-08 22:30:41 +0100
commit643933f51d1cf0efedece07b058d46c87deb0b2d (patch)
tree1903a10292bc9ea39e1bb6a3cdf8024d109da7f1
parent8f23907f3e4c9e40602be0eeebce8c7ea7a9fa3d (diff)
downloadffmpeg-643933f51d1cf0efedece07b058d46c87deb0b2d.tar.gz
build: add LTO support for PGI compiler
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index d4fcd1f533..3e22d83e3e 100755
--- 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 ;;