re PR libgcj/23829 (FreeBSD 5 support for libjava)
PR libgcj/23829 * configure.ac: Link against -lpthread rather than -lc_r on FreeBSD 5 and above. * configure: Regenerate. From-SVN: r112897
This commit is contained in:
parent
597d6703b8
commit
04522557c7
3 changed files with 13 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-04-12 NAKATA Maho <maho@FreeBSD.org>
|
||||||
|
|
||||||
|
PR libgcj/23829
|
||||||
|
* configure.ac: Link against -lpthread rather than -lc_r on
|
||||||
|
FreeBSD 5 and above.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
|
2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
|
||||||
|
|
||||||
* gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
|
* gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
|
||||||
|
|
7
libjava/configure
vendored
7
libjava/configure
vendored
|
@ -9210,11 +9210,10 @@ case "$THREADS" in
|
||||||
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
|
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
|
||||||
;;
|
;;
|
||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
# FreeBSD 5 implements a model much closer to other modern UNIX
|
# FreeBSD >=5.3 implements a model much closer to other modern UNIX
|
||||||
# which support threads. However, it still does not support
|
# systems which support threads and -lpthread.
|
||||||
# -lpthread.
|
|
||||||
THREADLDFLAGS=-pthread
|
THREADLDFLAGS=-pthread
|
||||||
THREADSPEC=-lc_r
|
THREADSPEC=-lpthread
|
||||||
;;
|
;;
|
||||||
alpha*-dec-osf*)
|
alpha*-dec-osf*)
|
||||||
THREADCXXFLAGS=-pthread
|
THREADCXXFLAGS=-pthread
|
||||||
|
|
|
@ -800,11 +800,10 @@ case "$THREADS" in
|
||||||
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
|
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
|
||||||
;;
|
;;
|
||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
# FreeBSD 5 implements a model much closer to other modern UNIX
|
# FreeBSD >=5.3 implements a model much closer to other modern UNIX
|
||||||
# which support threads. However, it still does not support
|
# systems which support threads and -lpthread.
|
||||||
# -lpthread.
|
|
||||||
THREADLDFLAGS=-pthread
|
THREADLDFLAGS=-pthread
|
||||||
THREADSPEC=-lc_r
|
THREADSPEC=-lpthread
|
||||||
;;
|
;;
|
||||||
alpha*-dec-osf*)
|
alpha*-dec-osf*)
|
||||||
THREADCXXFLAGS=-pthread
|
THREADCXXFLAGS=-pthread
|
||||||
|
|
Loading…
Add table
Reference in a new issue