always add -fomit-frame-pointer if optimizations are enabled

Originally committed as revision 6601 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-10-09 14:11:28 +00:00
parent 441e8fe9c9
commit 2a1a6b64a1
1 changed files with 4 additions and 3 deletions

7
configure vendored
View File

@ -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