diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/mingw32.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c58932c..7a9752f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 7a1ae9e..b4137ea 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -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 \ |
