Mercurial > mplayer.hg
comparison configure @ 33796:aab87ce93567
configure: set HAVE_LOCAL_ALIGNED_* for x86_64.
This is compatible with the behaviour of ffmpeg's configure, and fixes the
infamous "Compiler did not align stack variables. Libavcodec has been
miscompiled" warning introduced by commit 58d7efd "Use LOCAL_ALIGNED in
ff_check_alignment()".
author | cigaes |
---|---|
date | Wed, 20 Jul 2011 21:23:59 +0000 |
parents | 6673b85049fa |
children | d4d29d2329f2 |
comparison
equal
deleted
inserted
replaced
33795:03d08d7b4343 | 33796:aab87ce93567 |
---|---|
2103 x86_64|amd64) | 2103 x86_64|amd64) |
2104 arch='x86' | 2104 arch='x86' |
2105 subarch='x86_64' | 2105 subarch='x86_64' |
2106 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' | 2106 def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' |
2107 def_av_fast_unaligned='#define AV_HAVE_FAST_UNALIGNED 1' | 2107 def_av_fast_unaligned='#define AV_HAVE_FAST_UNALIGNED 1' |
2108 def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' | |
2109 def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1' | |
2108 def_fast_64bit='#define HAVE_FAST_64BIT 1' | 2110 def_fast_64bit='#define HAVE_FAST_64BIT 1' |
2109 iproc='x86_64' | 2111 iproc='x86_64' |
2110 | 2112 |
2111 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead | 2113 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead |
2112 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then | 2114 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then |