summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 09:31:15 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 09:31:15 +0000
commit02531411b36cb152169a6113ed06cdb292418f7c (patch)
treee49e4f16251769bd0306885a3fd94e06324c63db /configure
parent956f0444aeef85ff3b4b975fefe5c0ab9758e1f4 (diff)
downloadmpv-02531411b36cb152169a6113ed06cdb292418f7c.tar.bz2
mpv-02531411b36cb152169a6113ed06cdb292418f7c.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index d674487340..6e9f17d98c 100755
--- a/configure
+++ b/configure
@@ -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