mirror of https://git.ffmpeg.org/ffmpeg.git
fail if SSE && !memalign && !memalign_hack
Originally committed as revision 3450 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c32b14bb9c
commit
8bf5d58f86
|
@ -760,6 +760,11 @@ EOF
|
|||
$cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
|
||||
fi
|
||||
|
||||
if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
|
||||
echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat > $TMPC << EOF
|
||||
#include <time.h>
|
||||
int main( void ) { localtime_r(NULL, NULL); }
|
||||
|
|
Loading…
Reference in New Issue