diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-03 09:42:42 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-03 09:42:42 +0000 |
commit | 3b5dc11547a66e2986d16009b01b9c033fb16791 (patch) | |
tree | addc9098d6e26b4b83ab0b6bfdb7c9cbef156953 /libjava | |
parent | 2a0abb3a6fb5526e6c792c8a2bbc8ddd7952c20e (diff) | |
download | gcc-3b5dc11547a66e2986d16009b01b9c033fb16791.tar.gz |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rwxr-xr-x | libjava/configure | 9 | ||||
-rw-r--r-- | 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 <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 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 ;; |