diff options
author | Christopher Faylor <me@cgf.cx> | 2008-10-29 13:13:26 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-10-29 13:13:26 +0000 |
commit | b2e53678465ad46c7fa1e6d155fc55f9bb0b145f (patch) | |
tree | 827d544af55f450dfc05fef4a505fcdce8798cac /winsup | |
parent | 2004f7603fc9c9d80d59334c294f9d4cdfef0fb5 (diff) | |
download | newlib-b2e53678465ad46c7fa1e6d155fc55f9bb0b145f.zip newlib-b2e53678465ad46c7fa1e6d155fc55f9bb0b145f.tar.gz newlib-b2e53678465ad46c7fa1e6d155fc55f9bb0b145f.tar.bz2 |
* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/utils/Makefile.in | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 7516272..57fae5e 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -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 diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index 8d06cf2..9e3f8ef 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -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} |