diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2008-10-06 01:52:27 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2008-10-06 01:52:27 +0000 |
commit | de27a12c672ace89eec85d195fb9fb6e34488874 (patch) | |
tree | b0ddfbedffd3272227f3eb07a038ffbac39d1c04 /gcc | |
parent | 7786007cdccc7e9ae99c1dd0eb969e1c13a6c789 (diff) | |
download | gcc-de27a12c672ace89eec85d195fb9fb6e34488874.zip gcc-de27a12c672ace89eec85d195fb9fb6e34488874.tar.gz gcc-de27a12c672ace89eec85d195fb9fb6e34488874.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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 \ |