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.
This commit is contained in:
parent
cb8f735786
commit
ac8042dfa9
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ test -f $PLAN9/config && . $PLAN9/config
|
||||||
|
|
||||||
case "$SYSNAME" in
|
case "$SYSNAME" in
|
||||||
NetBSD)
|
NetBSD)
|
||||||
echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o pthread.o stkmalloc.o
|
echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o stkmalloc.o
|
||||||
;;
|
;;
|
||||||
OpenBSD)
|
OpenBSD)
|
||||||
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o stkmmap.o
|
echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o stkmmap.o
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue