From: ktietz Date: Fri, 3 Feb 2012 09:42:42 +0000 (+0000) Subject: PR libjava/48512 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b5dc11547a66e2986d16009b01b9c033fb16791;p=thirdparty%2Fgcc.git PR libjava/48512 * 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 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5f78e0576a22..326927ed6a82 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 2bce6894075b..b8f23d3f5930 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 b2b6925204f2..2b339c376df9 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 ;;