提交 8b3a43cf 编写于 作者: D Diego Biurrun

Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc

provides necessary alignment on this platform.
patch by Mino Taoyama and Nigel Pearson

Originally committed as revision 5821 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 5df68893
......@@ -1241,7 +1241,8 @@ if check_header malloc.h; then
check_func memalign || _memalign="no"
fi
if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
"$memalignhack" != "yes" -a "$darwin" != "yes" ; then
die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册