diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-02-03 10:42:42 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2012-02-03 10:42:42 +0100 |
commit | 5b5b0fa908dc2042ef1b837d31b44560ee7420a8 (patch) | |
tree | addc9098d6e26b4b83ab0b6bfdb7c9cbef156953 /libjava | |
parent | a5c15014062a6abb1e3e97fbef5818aa00cf94d1 (diff) | |
download | gcc-5b5b0fa908dc2042ef1b837d31b44560ee7420a8.zip gcc-5b5b0fa908dc2042ef1b837d31b44560ee7420a8.tar.gz gcc-5b5b0fa908dc2042ef1b837d31b44560ee7420a8.tar.bz2 |
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
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 5f78e05..326927e 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 2bce689..b8f23d3 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 b2b6925..2b339c3 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 ;; |