diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2008-10-02 08:37:36 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2008-10-02 08:37:36 +0000 |
commit | 068450d0454b04398fdb5763ac182fe2c0582e5a (patch) | |
tree | 67f9958f2be73ce369c8f8f33cca90e20f03635c | |
parent | 4e5821d340ebed01d6b9ca26e801c9d9b6153cb1 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3de3d1..52fe4dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-10-02 Danny Smith <dannysmith@users.sourceforge.net> + + PR target/37528 + * config/i386/mingw32.h (LIBGCC_SPEC) : Replace with .. + (REAL_LIBGCC_SPEC): New. Always include -lgcc. + 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): 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 |