From: John Koleszar Date: Thu, 2 Sep 2010 15:17:05 +0000 (-0400) Subject: Use -fno-common for mingw X-Git-Tag: v0.9.2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21039ce16eb794bf250fcd5484c784b2f7c4f2b1;p=libvpx 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 --- diff --git a/build/make/configure.sh b/build/make/configure.sh index cebdd57ba..4b732e63f 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -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}