[patch] enable libgcj_bc for GNU/kFreeBSD, optimize gcj for GNU/kFreeBSD
Petr Salinger
Petr.Salinger@seznam.cz
Mon Sep 18 23:44:00 GMT 2006
> Petr> Thanks for checking it in. Can I ask for one more patch.
> Petr> It enables recently added libgcj_bc for us,
> Petr> syncs libgcj_ld_symbolic with linux and
> Petr> allows direct using of pthread_self() for _Jv_ThreadSelf().
>
> I'll commit shortly.
> BTW ... send these to java-patches and include a ChangeLog entry.
2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
* configure.host: GNU/kFreeBSD support
enable libgcj_bc
sync "libgcj_ld_symbolic" with Linux
set empty "slow_pthread_self"
-------------- next part --------------
--- libjava/configure.host~
+++ libjava/configure.host
@@ -242,6 +242,10 @@
rm -f conftest conftest.c
fi
;;
+ i[34567]86*-kfreebsd*-gnu | x86_64*-kfreebsd*-gnu)
+ libgcj_ld_symbolic='-Wl,-Bsymbolic'
+ slow_pthread_self=
+ ;;
i[34567]86-*-solaris2.1[0-9]* )
sysdeps_dir=x86-64
DIVIDESPEC=-f%{m32:no-}%{!m32:%{!m64:no-}}%{m64:}use-divide-subroutine
@@ -320,7 +324,7 @@
esac
case "${host}" in
- *linux*)
+ *linux*|*-kfreebsd*-gnu)
use_libgcj_bc=yes
;;
*)
More information about the Java-patches
mailing list