OSDN Git Service

PR libjava/48512
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2012 09:42:42 +0000 (09:42 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2012 09:42:42 +0000 (09:42 +0000)
        * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
        w64 windows targets.
        * configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183867 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index 5f78e05..326927e 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-02  Kai Tietz  <ktietz@redhat.com>
+
+       PR libjava/48512
+       * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
+       w64 windows targets.
+       * configure: Regenerated.
+
 2012-02-01  Kai Tietz  <ktietz@redhat.com>
 
        PR target/51500
index 2bce689..b8f23d3 100755 (executable)
@@ -20812,9 +20812,14 @@ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     # 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
     ;;
index b2b6925..2b339c3 100644 (file)
@@ -1150,9 +1150,14 @@ 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
     ;;