2013-09-26 17:14:40 +02:00

17 lines
461 B
Plaintext

$NetBSD: patch-al,v 1.2 2011/05/14 18:00:24 wiz Exp $
--- libjava/configure.ac.orig 2011-02-25 16:08:27.000000000 +0100
+++ libjava/configure.ac
@@ -1011,6 +1011,11 @@
THREADLDFLAGS=-pthread
THREADSPEC=-lpthread
;;
+ *-*-netbsd*)
+ # NetBSD should work with pthread.
+ THREADLDFLAGS=-pthread
+ THREADSPEC=-lpthread
+ ;;
alpha*-dec-osf* | hppa*-hp-hpux*)
THREADCXXFLAGS=-pthread
# boehm-gc needs some functions from librt, so link that too.