changeset 107872:9882f2fb5dab

* s/cygwin.h: Avoid linking against static libgcc. See http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg01128.html
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 15 Apr 2010 21:00:45 -0400
parents d7b161b7a686
children b88763a1166b
files src/ChangeLog src/s/cygwin.h
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Apr 16 02:51:12 2010 +0300
+++ b/src/ChangeLog	Thu Apr 15 21:00:45 2010 -0400
@@ -1,3 +1,7 @@
+2010-04-16  Ken Brown  <kbrown@cornell.edu>  (tiny change)
+
+	* s/cygwin.h: Avoid linking against static libgcc.
+
 2010-04-15  Juri Linkov  <juri@jurta.org>
 
 	* window.c: Add Qscroll_command.
--- a/src/s/cygwin.h	Fri Apr 16 02:51:12 2010 +0300
+++ b/src/s/cygwin.h	Thu Apr 15 21:00:45 2010 -0400
@@ -132,6 +132,14 @@
    returns ENOSYS.  A workaround is to set G_SLICE=always-malloc. */
 #define G_SLICE_ALWAYS_MALLOC
 
+/* Don't link against static libgcc */
+#define LIB_GCC
+
+/* Don't list system libs on link command line */
+#define LIB_STANDARD
+#define LIB_MATH
+#define LIBS_DEBUG
+
 /* the end */
 
 /* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b