diff src/Makefile.in.in @ 1213:1ab9c4a77230

[xemacs-hg @ 2003-01-15 08:46:18 by youngs] 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru> * Makefile.in.in (ldflags): re-order sections for gcc 3.2. * s/cygwin.sc: new linker file.
author youngs
date Wed, 15 Jan 2003 08:46:22 +0000
parents 25e260cb7994
children 465bd3c7d932
line wrap: on
line diff
--- a/src/Makefile.in.in	Wed Jan 15 07:24:36 2003 +0000
+++ b/src/Makefile.in.in	Wed Jan 15 08:46:22 2003 +0000
@@ -273,6 +273,9 @@
 cflags   = $(CFLAGS) $(cppflags)
 #if defined (WIN32_NATIVE) || defined (CYGWIN)
 ldflags  = $(LDFLAGS) -mwindows -e _mainCRTStartup $(ld_switch_all) $(ld_dynamic_link_flags)
+# if defined (CYGWIN)
+ldflags += -Wl,--script=s/cygwin.sc
+# endif
 #else
 ldflags  = $(LDFLAGS) $(ld_switch_all) $(ld_dynamic_link_flags)
 #endif