]> granicus.if.org Git - libvpx/commitdiff
Use -fno-common for mingw
authorJohn Koleszar <jkoleszar@google.com>
Thu, 2 Sep 2010 15:17:05 +0000 (11:17 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 2 Sep 2010 15:52:38 +0000 (11:52 -0400)
Fixes http://code.google.com/p/webm/issues/detail?id=112

Thanks to Ramiro Polla for the issue/fix.

Change-Id: I7f7b547a4ea3270e183f59280510066cc29a619e

build/make/configure.sh

index cebdd57bae2244f16aa4ee1cff5e933b3de2c787..4b732e63f96055290233a6faa65eae6cb8d024e7 100755 (executable)
@@ -781,6 +781,9 @@ process_common_toolchain() {
         soft_enable ssse3
 
         case  ${tgt_os} in
+            win*)
+                enabled gcc && add_cflags -fno-common
+                ;;
             solaris*)
                 CC=${CC:-${CROSS}gcc}
                 LD=${LD:-${CROSS}gcc}