diff mbox

[FFmpeg-devel] configure: use -O1 with MSVC by default

Message ID 20161213132336.12976-1-robUx4@gmail.com
State Accepted
Commit f7174d7ed045445d00a6d557236737d09ad32343
Headers show

Commit Message

Steve Lhomme Dec. 13, 2016, 1:23 p.m. UTC
From: Steve Lhomme <robux4@gmail.com>

Otherwise some ARM and other unsupported CPU is linked with -O0
---
 configure | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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