mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup lib with -mthread switch.

* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup
	lib with -mthread switch.

From-SVN: r140900
This commit is contained in:
Danny Smith 2008-10-06 01:52:27 +00:00 committed by Danny Smith
parent 7786007cdc
commit de27a12c67
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-10-06 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup
lib with -mthread switch.
2008-10-05 Dodji Seketeli <dodji@redhat.com>
PR c++/37410

View File

@ -91,7 +91,7 @@ along with GCC; see the file COPYING3. If not see
/* Include in the mingw32 libraries with libgcc */
#undef REAL_LIBGCC_SPEC
#define REAL_LIBGCC_SPEC \
"-lmingw32 \
"%{mthreads:-lmingwthrd} -lmingw32 \
%{shared-libgcc:-lgcc_s} \
%{!shared-libgcc:-lgcc_eh} \
-lgcc \