shithub: libvpx

Download patch

ref: 21039ce16eb794bf250fcd5484c784b2f7c4f2b1
parent: 76640f85dac7145a7f275ca04708496fc136bbe5
author: John Koleszar <jkoleszar@google.com>
date: Thu Sep 2 07:17:05 EDT 2010

Use -fno-common for mingw

Fixes http://code.google.com/p/webm/issues/detail?id=112

Thanks to Ramiro Polla for the issue/fix.

Change-Id: I7f7b547a4ea3270e183f59280510066cc29a619e

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -781,6 +781,9 @@
         soft_enable ssse3
 
         case  ${tgt_os} in
+            win*)
+                enabled gcc && add_cflags -fno-common
+                ;;
             solaris*)
                 CC=${CC:-${CROSS}gcc}
                 LD=${LD:-${CROSS}gcc}