lib with -mthread switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140900
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
/* 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 \