Add -fno-common to avoid misalignment for global var under win32 like what

has been done for ffmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30308 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
zuxy 2010-01-15 09:31:15 +00:00
parent 956f0444ae
commit 02531411b3
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

@ -1488,6 +1488,7 @@ fi
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