Module Name: src Committed By: apb Date: Mon Feb 25 17:04:46 UTC 2013
Modified Files: src/lib/libpthread: Makefile Log Message: Explain what PTHREAD__COMPAT is for. This comment in src/libpthread/Makefile is adated from a comment in src/doc/CHANGES.prev. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/lib/libpthread/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libpthread/Makefile diff -u src/lib/libpthread/Makefile:1.78 src/lib/libpthread/Makefile:1.79 --- src/lib/libpthread/Makefile:1.78 Thu Jan 31 20:57:58 2013 +++ src/lib/libpthread/Makefile Mon Feb 25 17:04:46 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.78 2013/01/31 20:57:58 riastradh Exp $ +# $NetBSD: Makefile,v 1.79 2013/02/25 17:04:46 apb Exp $ # WARNS?= 5 @@ -60,6 +60,11 @@ SRCS+= sem.c SRCS+= pthread_md.S .endif +# The PTHREAD__COMPAT flag builds a libpthread that can be dropped +# into a NetBSD 2/3/4 chroot with a NetBSD 5 or later kernel. +# This makes threading work in the chroot, no other modifications +# required. +# .if defined(PTHREAD__COMPAT) SRCS+= pthread_compat.c .PATH.c: ${.CURDIR}/../../common/lib/libc/arch/${ARCHSUBDIR}/atomic