summaryrefslogtreecommitdiff
path: root/gcc/config/i386/mingw32.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-03 05:28:02 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-03 05:28:02 +0000
commit75ca9ad8c3965de2c7372dbffdb24a57342a3f8b (patch)
tree38a4855f8dc7a6550f29964ce04a9d718ca97d91 /gcc/config/i386/mingw32.h
parenta72221df49b12ce3a74ff394218a5936cc95bf90 (diff)
downloadgcc-75ca9ad8c3965de2c7372dbffdb24a57342a3f8b.tar.gz
2008-10-03 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140849 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/mingw32.h')
-rw-r--r--gcc/config/i386/mingw32.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h
index bb5fd7f7e6e..7a1ae9ebc6b 100644
--- a/gcc/config/i386/mingw32.h
+++ b/gcc/config/i386/mingw32.h
@@ -89,10 +89,12 @@ along with GCC; see the file COPYING3. If not see
%(shared_libgcc_undefs)"
/* Include in the mingw32 libraries with libgcc */
-#undef LIBGCC_SPEC
-#define LIBGCC_SPEC \
+#undef REAL_LIBGCC_SPEC
+#define REAL_LIBGCC_SPEC \
"-lmingw32 \
- %{shared-libgcc:-lgcc_s} -lgcc \
+ %{shared-libgcc:-lgcc_s} \
+ %{!shared-libgcc:-lgcc_eh} \
+ -lgcc \
-lmoldname -lmingwex -lmsvcrt"
#undef STARTFILE_SPEC