openbsd-ports/lang/gcc/4.2/patches/patch-libjava_configure
kurt 1094d158a8 - enable dwarf2 exceptions (w/major bump for libestdc++)
- add gcj support for i386, amd64 and sparc64
- add MODGCC4_LANGS=java support to gcc4.port.mk
okay robert@
2009-06-04 18:24:20 +00:00

15 lines
468 B
Plaintext

$OpenBSD: patch-libjava_configure,v 1.1 2009/06/04 18:24:20 kurt Exp $
--- libjava/configure.orig Wed Jan 17 13:10:26 2007
+++ libjava/configure Tue Mar 3 14:45:15 2009
@@ -9168,6 +9168,10 @@ case "$THREADS" in
THREADLDFLAGS=-pthread
THREADSPEC=-lpthread
;;
+ *-*-openbsd*)
+ THREADLDFLAGS=-pthread
+ THREADSPEC=-lpthread
+ ;;
alpha*-dec-osf* | hppa*-hp-hpux*)
THREADCXXFLAGS=-pthread
# boehm-gc needs some functions from librt, so link that too.