Check for support of -fomit-frame-pointer before adding it to CFLAGS.

patch by Ben Taylor, bentaylor.solx86 gmail com

Originally committed as revision 13966 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ben Taylor 2008-06-25 15:41:36 +00:00 committed by Diego Biurrun
parent f0418fec69
commit 40617a6d05

2
configure vendored
View File

@ -1399,7 +1399,7 @@ if test $target_os = darwin; then
fi
fi
disabled optimizations || add_cflags -fomit-frame-pointer
disabled optimizations || check_cflags -fomit-frame-pointer
# Add processor-specific flags
if test $cpu != "generic"; then