[FFmpeg-cvslog] Fix pgc compilation with --disable-optimizations.

Carl Eugen Hoyos git at videolan.org
Thu Apr 18 03:07:58 CEST 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Apr 18 02:20:04 2013 +0200| [2ade23a7ada650a1aa6a857e3d2e1c136a8708d8] | committer: Carl Eugen Hoyos

Fix pgc compilation with --disable-optimizations.

-O1 disables dead code elimination on pgc, use -O instead.

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

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

diff --git a/configure b/configure
index f146f7e..2aff8e2 100755
--- a/configure
+++ b/configure
@@ -2806,7 +2806,7 @@ probe_cc(){
         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"
+        _cflags_noopt="-O"
         _flags_filter=pgi_flags
     elif $_cc 2>&1 | grep -q Microsoft; then
         _type=msvc



More information about the ffmpeg-cvslog mailing list