aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-19 21:14:20 -0500
committerRuss Cox <rsc@swtch.com>2020-01-19 23:04:58 -0500
commitac8042dfa9819f76ccfedd4aa36c1239322808b8 (patch)
tree33915bad974b345471a7e13390a32165b456bf87 /src/libthread
parentcb8f7357867a2a5d0bd742ceeb77bce9ad5f435c (diff)
downloadplan9port-ac8042dfa9819f76ccfedd4aa36c1239322808b8.tar.gz
plan9port-ac8042dfa9819f76ccfedd4aa36c1239322808b8.tar.bz2
plan9port-ac8042dfa9819f76ccfedd4aa36c1239322808b8.zip
libthread: rm NetBSD pthread reference in sysofiles.sh
It may be that pthreads on NetBSD is now good enough, but the build as written (introduced in 23a2368 at my suggestion) is certainly broken, since both NetBSD.c and pthread.c define the same functions. If NetBSD does support pthreads now, then a few things should happen together: - libthread/sysofiles.sh should drop its top NetBSD case entirely - libthread/NetBSD.c should be deleted - libthread/NetBSD-*-asm.s should be deleted - include/u.h's NetBSD case should define PLAN9PORT_USING_PTHREADS and #include <pthread.h> For now, restore to less clearly broken build.
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/sysofiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
index fd60f131..9a7301a8 100644
--- a/src/libthread/sysofiles.sh
+++ b/src/libthread/sysofiles.sh
@@ -4,7 +4,7 @@ test -f $PLAN9/config && . $PLAN9/config
case "$SYSNAME" in
NetBSD)
- echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o pthread.o stkmalloc.o
+ echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o stkmalloc.o
;;
OpenBSD)
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o stkmmap.o