提交 a75b9a18 编写于 作者: D Diego Biurrun

mingw/cygwin: Stop adding -fno-common to gcc CFLAGS

This was done to work around toolchain bugs that have long been fixed.
上级 f75f4194
...@@ -2796,7 +2796,6 @@ case $target_os in ...@@ -2796,7 +2796,6 @@ case $target_os in
dlltool="${cross_prefix}dlltool" dlltool="${cross_prefix}dlltool"
ranlib=: ranlib=:
enable dos_paths enable dos_paths
check_cflags -fno-common
add_cppflags -U__STRICT_ANSI__ add_cppflags -U__STRICT_ANSI__
;; ;;
cygwin*) cygwin*)
...@@ -2812,7 +2811,6 @@ case $target_os in ...@@ -2812,7 +2811,6 @@ case $target_os in
SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a' SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
objformat="win32" objformat="win32"
enable dos_paths enable dos_paths
check_cflags -fno-common
add_cppflags -U__STRICT_ANSI__ add_cppflags -U__STRICT_ANSI__
;; ;;
*-dos|freedos|opendos) *-dos|freedos|opendos)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册