]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/37528 (boostrap failure due to configure problems)
authorDanny Smith <dannysmith@users.sourceforge.net>
Thu, 2 Oct 2008 08:37:36 +0000 (08:37 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Thu, 2 Oct 2008 08:37:36 +0000 (08:37 +0000)
PR target/37528
* config/i386/mingw32.h (LIBGCC_SPEC) : Replace with ..
(REAL_LIBGCC_SPEC): New.  Always include -lgcc.

From-SVN: r140830

gcc/ChangeLog
gcc/config/i386/mingw32.h

index c3de3d1d744189ed7950a18062de739dccc59a9d..52fe4dc687675781df3ef532aab072747ea1f24c 100644 (file)
@@ -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):
index bb5fd7f7e6ec9ee4c1810d2bf384781294ecdb01..7a1ae9ebc6bcbeec2fe579ebb64241f4fb118f2e 100644 (file)
@@ -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