From 20af301df3b38ffc6ba2c6c98079c91e983d26cf Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 15 Apr 2010 21:00:45 -0400 Subject: [PATCH] * s/cygwin.h: Avoid linking against static libgcc. See http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg01128.html --- src/ChangeLog | 4 ++++ src/s/cygwin.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 9d89f51001a..789f7dc8c56 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-04-16 Ken Brown (tiny change) + + * s/cygwin.h: Avoid linking against static libgcc. + 2010-04-15 Juri Linkov * window.c: Add Qscroll_command. diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 9ca5c67ce37..9f4669d6e3f 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h @@ -132,6 +132,14 @@ along with GNU Emacs. If not, see . */ 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 -- 2.39.2