diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3702140518d..4bdf5c172c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-10-27 Eric Botcazou + + * config/i386/t-mingw32 (SHLIB_LC): Add -lmingwthrd. + * config/i386/t-mingw-w32 (SHLIB_LC): Likewise. + * config/i386/t-mingw-w64 (SHLIB_LC): Likewise. + 2010-10-27 Eric Botcazou Olivier Hainque diff --git a/gcc/config/i386/t-mingw-w32 b/gcc/config/i386/t-mingw-w32 index fc0c1224bdd..a1421801664 100644 --- a/gcc/config/i386/t-mingw-w32 +++ b/gcc/config/i386/t-mingw-w32 @@ -6,7 +6,7 @@ MULTILIB_DIRNAMES = 64 32 MULTILIB_OSDIRNAMES = ../lib64 ../lib # MinGW-specific parts of LIB_SPEC -SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 +SHLIB_LC = -lmingwthrd -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib diff --git a/gcc/config/i386/t-mingw-w64 b/gcc/config/i386/t-mingw-w64 index d5b2d0e3d4d..dbe2d00a2e7 100644 --- a/gcc/config/i386/t-mingw-w64 +++ b/gcc/config/i386/t-mingw-w64 @@ -6,7 +6,7 @@ MULTILIB_DIRNAMES = 64 32 MULTILIB_OSDIRNAMES = ../lib ../lib32 # MinGW-specific parts of LIB_SPEC -SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 +SHLIB_LC = -lmingwthrd -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib diff --git a/gcc/config/i386/t-mingw32 b/gcc/config/i386/t-mingw32 index b6f5e8cbb2a..a8235242a50 100644 --- a/gcc/config/i386/t-mingw32 +++ b/gcc/config/i386/t-mingw32 @@ -2,4 +2,4 @@ NATIVE_SYSTEM_HEADER_DIR = /mingw/include # MinGW-specific parts of LIB_SPEC -SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 +SHLIB_LC = -lmingwthrd -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32