mingw/cygwin: Stop adding -fno-common to gcc CFLAGS
authorDiego Biurrun <diego@biurrun.de>
Fri, 5 Oct 2012 22:16:41 +0000 (00:16 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 9 Oct 2012 09:39:26 +0000 (11:39 +0200)
This was done to work around toolchain bugs that have long been fixed.

configure

index 3e22d83..17f38ec 100755 (executable)
--- a/configure
+++ b/configure
@@ -2796,7 +2796,6 @@ case $target_os in
         dlltool="${cross_prefix}dlltool"
         ranlib=:
         enable dos_paths
-        check_cflags -fno-common
         add_cppflags -U__STRICT_ANSI__
         ;;
     cygwin*)
@@ -2812,7 +2811,6 @@ case $target_os in
         SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
         objformat="win32"
         enable dos_paths
-        check_cflags -fno-common
         add_cppflags -U__STRICT_ANSI__
         ;;
     *-dos|freedos|opendos)