[FFmpeg-cvslog] build: add -Mdse to PGI optimisation flags

Mans Rullgard git at videolan.org
Tue Oct 9 13:10:46 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Oct  5 01:30:28 2012 +0100| [8f23907f3e4c9e40602be0eeebce8c7ea7a9fa3d] | committer: Mans Rullgard

build: add -Mdse to PGI optimisation flags

Enable dead store elimination.  The last few releases work no worse
with this flag than without.  Older versions failed to build some
source files when using this flag.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f23907f3e4c9e40602be0eeebce8c7ea7a9fa3d
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 34680d4..d4fcd1f 100755
--- a/configure
+++ b/configure
@@ -2329,7 +2329,7 @@ probe_cc(){
     elif $_cc -V 2>&1 | grep -q Portland; then
         _type=pgi
         _ident="PGI $($_cc -V 2>&1 | awk '/^pgcc/ { print $2; exit }')"
-        opt_common='-alias=ansi -Mlre -Mpre'
+        opt_common='-alias=ansi -Mdse -Mlre -Mpre'
         _cflags_speed="-O3 -Mautoinline -Munroll=c:4 $opt_common"
         _cflags_size="-O2 -Munroll=c:1 $opt_common"
         _cflags_noopt="-O1"



More information about the ffmpeg-cvslog mailing list