changeset 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 03d08d7b4343
children d4d29d2329f2
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Jul 15 14:36:29 2011 +0000
+++ b/configure	Wed Jul 20 21:23:59 2011 +0000
@@ -2105,6 +2105,8 @@
     subarch='x86_64'
     def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
     def_av_fast_unaligned='#define AV_HAVE_FAST_UNALIGNED 1'
+    def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1'
+    def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1'
     def_fast_64bit='#define HAVE_FAST_64BIT 1'
     iproc='x86_64'