9659a2b4c2
provided by Kai-Uwe Eckhardt for fixing PR 43131 (Linux build). While here, add RCS Ids to a few patches, and regen one.
16 lines
461 B
Text
16 lines
461 B
Text
$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.
|