From 5b5b0fa908dc2042ef1b837d31b44560ee7420a8 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 3 Feb 2012 10:42:42 +0100 Subject: [PATCH] re PR java/48512 ([4.6] gcj spec files references incorrectly crtmt.o on i686-w64-mingw32 target) PR libjava/48512 * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for w64 windows targets. * configure: Regenerated. From-SVN: r183867 --- libjava/ChangeLog | 7 +++++++ libjava/configure | 9 +++++++-- libjava/configure.ac | 9 +++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5f78e0576a2..326927ed6a8 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2012-02-02 Kai Tietz + + PR libjava/48512 + * configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for + w64 windows targets. + * configure: Regenerated. + 2012-02-01 Kai Tietz PR target/51500 diff --git a/libjava/configure b/libjava/configure index 2bce6894075..b8f23d3f593 100755 --- a/libjava/configure +++ b/libjava/configure @@ -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 ;; diff --git a/libjava/configure.ac b/libjava/configure.ac index b2b6925204f..2b339c376df 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -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 ;;