changeset 30266:fe8671946fae

Add -fno-common to avoid misalignment for global var under win32 like what has been done for ffmpeg.
author zuxy
date Fri, 15 Jan 2010 09:31:15 +0000
parents a70cdb4450f5
children eab765ebb521
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Jan 15 09:10:23 2010 +0000
+++ b/configure	Fri Jan 15 09:31:15 2010 +0000
@@ -1488,6 +1488,7 @@
 
 if win32 ; then
   _exesuf=".exe"
+  extra_cflags="$extra_cflags -fno-common"
   # -lwinmm is always needed for osdep/timer-win2.c
   extra_ldflags="$extra_ldflags -lwinmm"
   _pe_executable=yes