* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.

This commit is contained in:
Christopher Faylor 2008-10-29 13:13:26 +00:00
parent 2004f7603f
commit b2e5367846
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-10-29 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything
here.
2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
* mingw: Set sawcfile when -xc* is detected. Extend list of detected

View File

@ -41,7 +41,7 @@ include $(srcdir)/../Makefile.common
.PHONY: all install clean realclean warn_dumper warn_cygcheck_zlib
ALL_LDLIBS := -lnetapi32 -ladvapi32
ALL_LDFLAGS := -Wl,--enable-auto-import -B$(newlib_build)/libc -B$(w32api_lib) $(LDFLAGS) $(ALL_LDLIBS)
ALL_LDFLAGS := -static-libgcc -Wl,--enable-auto-import -B$(newlib_build)/libc -B$(w32api_lib) $(LDFLAGS) $(ALL_LDLIBS)
ALL_DEP_LDLIBS := $(cygwin_build)/libcygwin.a ${patsubst -l%,\
$(w32api_lib)/lib%.a,$(ALL_LDLIBS) -lkernel32 -luser32}