aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-22 02:50:01 +0000
committerChristopher Faylor <me@cgf.cx>2002-06-22 02:50:01 +0000
commit0094fa046ca1f5673838144d8eec85b8799ac2af (patch)
tree3962f9b57407df7fec7d692298ae308bf26f62dd
parentddcf02a320533cf2fec11ff588349d9834c62095 (diff)
downloadnewlib-0094fa046ca1f5673838144d8eec85b8799ac2af.zip
newlib-0094fa046ca1f5673838144d8eec85b8799ac2af.tar.gz
newlib-0094fa046ca1f5673838144d8eec85b8799ac2af.tar.bz2
* Makefile.in (cygrun.exe): Use -lgcc when linking.
-rw-r--r--winsup/cygwin/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index d10bdf2..efabaf0 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -305,7 +305,7 @@ winver_stamp: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES)
cygrun.exe : cygrun.o $(LIB_NAME) $(w32api_lib)/libuser32.a \
$(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a
- $(CC) -nodefaultlibs -o $@ $^
+ $(CC) -nodefaultlibs -o $@ $^ -lgcc
cygserver_transport_outside.o: cygserver_transport.cc
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $<