]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR java/48512 ([4.6] gcj spec files references incorrectly crtmt.o on i686-w64...
authorKai Tietz <ktietz@redhat.com>
Fri, 3 Feb 2012 10:35:06 +0000 (11:35 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 3 Feb 2012 10:35:06 +0000 (11:35 +0100)
        PR libjava/48512
        * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
        w64 windows targets.
        * configure: Regenerated.

From-SVN: r183868

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index b27b55beaed6a347539e960f0c4571ef48dffd80..3a08d210ae5f9442e9164d0f1bf08a86161c883c 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-03  Kai Tietz  <ktietz@redhat.com>
+
+       PR libjava/48512
+       * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
+       w64 windows targets.
+       * configure: Regenerated.
+
 2011-11-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/50888
index 73ebd03fd1e2244b1477d8724835e33ddb24788a..3a722c772caf84bc7057efb5f5cbb6e0bdecd83f 100755 (executable)
@@ -20796,9 +20796,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 b8f299dca6ead3ae978f55846de8abd8e78620f3..276b36fd98310b05f9bf5c8afb69cbff4ffd9a6d 100644 (file)
@@ -1135,9 +1135,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
     ;;