From 2a1a6b64a1d6c9b653dd70996dc5e6377c5a8dc2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 9 Oct 2006 14:11:28 +0000 Subject: [PATCH] always add -fomit-frame-pointer if optimizations are enabled Originally committed as revision 6601 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 1e843ef4a..ecdfcca0b 100755 --- 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 -- 2.11.0