]> git.sesse.net Git - ffmpeg/commitdiff
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 3e22d83e3e064621f75ca640562255e2b95e786a..17f38ec8755fbd80d804714c6b6a7246e9bcbe6a 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)