always add -fomit-frame-pointer if optimizations are enabled
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Oct 2006 14:11:28 +0000 (14:11 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Oct 2006 14:11:28 +0000 (14:11 +0000)
Originally committed as revision 6601 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1e843ef..ecdfcca 100755 (executable)
--- a/configure
+++ b/configure
@@ -1030,9 +1030,10 @@ if test $targetos = Darwin; then
                 ;;
         esac
     fi
-    if test $optimize != "no"; then
-        add_cflags "-fomit-frame-pointer"
-    fi
+fi
+
+if test $optimize != "no"; then
+    add_cflags "-fomit-frame-pointer"
 fi
 
 # Can only do AltiVec on PowerPC