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

diff --git a/configure b/configure
index e8ef7be..6978a27 100755
--- a/configure
+++ b/configure
@@ -3360,8 +3360,6 @@ EOF
     exit 1;
 fi
 
-disabled optimizations || check_cflags -fomit-frame-pointer
-
 enable_weak_pic() {
     disabled pic && return
     enable pic
@@ -3883,6 +3881,7 @@ if [ -z "$optflags" ]; then
         optflags=$cflags_size
     elif enabled optimizations; then
         optflags=$cflags_speed
+        check_cflags -fomit-frame-pointer
     else
         optflags=$cflags_noopt
     fi
-- 
1.7.9.5

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to