aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2008-10-02 08:37:36 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2008-10-02 08:37:36 +0000
commit068450d0454b04398fdb5763ac182fe2c0582e5a (patch)
tree67f9958f2be73ce369c8f8f33cca90e20f03635c /gcc/config
parent4e5821d340ebed01d6b9ca26e801c9d9b6153cb1 (diff)
downloadgcc-068450d0454b04398fdb5763ac182fe2c0582e5a.zip
gcc-068450d0454b04398fdb5763ac182fe2c0582e5a.tar.gz
gcc-068450d0454b04398fdb5763ac182fe2c0582e5a.tar.bz2
re PR target/37528 (boostrap failure due to configure problems)
PR target/37528 * config/i386/mingw32.h (LIBGCC_SPEC) : Replace with .. (REAL_LIBGCC_SPEC): New. Always include -lgcc. From-SVN: r140830
Diffstat (limited to 'gcc/config')
-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 bb5fd7f..7a1ae9e 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