aboutsummaryrefslogtreecommitdiff
path: root/libobjc/Makefile.in
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-12-23 11:26:14 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-12-23 11:26:14 +0000
commit1d439e6cd27735a9049ff124eb03c065b5992ff3 (patch)
treeb268dd16e7630d78d085449de3309391bb0531d8 /libobjc/Makefile.in
parent2b0d357388020bde68ba1779aa6ad76662558edc (diff)
downloadgcc-1d439e6cd27735a9049ff124eb03c065b5992ff3.zip
gcc-1d439e6cd27735a9049ff124eb03c065b5992ff3.tar.gz
gcc-1d439e6cd27735a9049ff124eb03c065b5992ff3.tar.bz2
Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
* Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc. (libobjc_gc$(libsuffix).la): Likewise. From-SVN: r168203
Diffstat (limited to 'libobjc/Makefile.in')
-rw-r--r--libobjc/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index c519542..b33c989 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for GNU Objective C runtime library.
# Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
#This file is part of GCC.
@@ -325,13 +325,13 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
libobjc$(libsuffix).la: $(OBJS)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
- -rpath $(toolexeclibdir) \
+ -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)
libobjc_gc$(libsuffix).la: $(OBJS_GC)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) $(OBJC_BOEHM_GC_LIBS) \
- -rpath $(toolexeclibdir) \
+ -Wc,-shared-libgcc -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc) \
$(LTLDFLAGS)