Hello,

ChangeLog

2012-02-02  Kai Tietz  <kti...@redhat.com>

        PR libjava/48512
        * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
        w64 windows targets.
        * configure: Regenerated.

Tested for i686-w64-mingw32, and i686-pc-mingw32.  Ok for apply?

Regards,
Kai

Index: gcc/libjava/configure.ac
===================================================================
--- gcc.orig/libjava/configure.ac
+++ gcc/libjava/configure.ac
@@ -1150,8 +1150,13 @@ case "$THREADS" in
     # FIXME: In Java we are able to detect thread death at the end of
     # Thread.run() so we should be able to clean up the exception handling
     # contexts ourselves.
-    THREADSTARTFILESPEC='crtmt%O%s'
-    ;;
+    case "$host" in
+    *-w64-mingw*)
+      ;;
+    *)
+      THREADSTARTFILESPEC='crtmt%O%s'
+      ;;
+    esac

  none)
     THREADH=no-threads.h

Reply via email to