174fb904d7
For a full Changelog, see: http://gcc.gnu.org/gcc-4.8/changes.html Tested by me on amd64, i386 and powerpc and by brad@ on sparc64. Adds support for -java on powerpc. -faggressive-loop-optimizations is disabled by default in the port, and the default debugging format changed to DWARF2 (instead of 4). tweaks and ok tobiasu@
40 lines
1.9 KiB
Plaintext
40 lines
1.9 KiB
Plaintext
$OpenBSD: patch-libjava_configure,v 1.1.1.1 2013/04/08 08:20:25 pascal Exp $
|
|
--- libjava/configure.orig Wed Dec 12 14:40:15 2012
|
|
+++ libjava/configure Sat Jan 12 13:27:15 2013
|
|
@@ -6397,7 +6397,7 @@ openbsd*)
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -12789,7 +12789,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -16473,7 +16473,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -20754,7 +20754,7 @@ case "$THREADS" in
|
|
# support for weak references to pthread_* functions ala gthr.h API.
|
|
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
|
|
;;
|
|
- *-*-freebsd*)
|
|
+ *-*-freebsd* | *-*-openbsd*)
|
|
# FreeBSD >=5.3 implements a model much closer to other modern UNIX
|
|
# systems which support threads and -lpthread.
|
|
THREADLDFLAGS=-pthread
|