changeset 109513:76c625d8ba20

* configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715)
author Ken Brown <kbrown@cornell.edu>
date Sat, 24 Jul 2010 14:44:54 -0400
parents cd770c24eabe
children 58f948d1cf46
files ChangeLog configure.in
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jul 24 20:15:40 2010 +0200
+++ b/ChangeLog	Sat Jul 24 14:44:54 2010 -0400
@@ -1,3 +1,7 @@
+2010-07-24  Ken Brown  <kbrown@cornell.edu>
+
+	* configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715)
+
 2010-07-24  Juanma Barranquero  <lekktu@gmail.com>
 
 	* .bzrignore, .gitignore: Ignore README.W32 on the root directory.
--- a/configure.in	Sat Jul 24 20:15:40 2010 +0200
+++ b/configure.in	Sat Jul 24 14:44:54 2010 -0400
@@ -3326,9 +3326,7 @@
 ORDINARY_LINK=
 case "$opsys" in
   ## gnu: GNU needs its own crt0.
-  aix4-2|darwin|gnu|usg5-4|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;;
-
-  cygwin) LINKER="\$(CC)" ;;
+  aix4-2|cygwin|darwin|gnu|usg5-4|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;;
 
   ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the
   ## library search parth, i.e. it won't search /usr/lib for libc and
@@ -3381,8 +3379,7 @@
 if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then
 
   case "$opsys" in
-    ## cygwin: don't link against static libgcc.
-    cygwin|freebsd|netbsd|openbsd) LIB_GCC= ;;
+    freebsd|netbsd|openbsd) LIB_GCC= ;;
 
     gnu-*)
       ## armin76@gentoo.org reported that the lgcc_s flag is necessary to