[FFmpeg-devel] [PATCH] configure: use -O1 with MSVC by default
    Steve Lhomme 
    robux4 at gmail.com
       
    Tue Dec 13 15:23:36 EET 2016
    
    
  
From: Steve Lhomme <robux4 at gmail.com>
Otherwise some ARM and other unsupported CPU is linked with -O0
---
 configure | 1 +
 1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 9dfd006..d623ced 100755
--- a/configure
+++ b/configure
@@ -4087,6 +4087,7 @@ probe_cc(){
         _DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -showIncludes -Zs'
         _cflags_speed="-O2"
         _cflags_size="-O1"
+        _cflags_noopt="-O1"
         if $_cc -nologo- 2>&1 | grep -q Linker; then
             _ld_o='-out:$@'
         else
-- 
2.10.2
    
    
More information about the ffmpeg-devel
mailing list