diff options
| author | Valery Ushakov <uwe@stderr.spb.ru> | 2017-09-10 04:12:33 +0300 |
|---|---|---|
| committer | Valery Ushakov <uwe@stderr.spb.ru> | 2017-09-10 04:12:33 +0300 |
| commit | 8eba7b79fe0fd83319cc590b9f4a6c480863fd1b (patch) | |
| tree | faea8c6463b9c99262c1dafaccc469efd6c1f952 /emu/NetBSD/mkfile | |
| parent | ce8d03217d8b7df75d799652e390ae87a7b93f8e (diff) | |
Switch NetBSD from clone(2) to kproc-pthreads.c
This commit is mostly a pretty mechanical change.
It works on NetBSD-6 where pthread uses userland semaphores.
It doesn't work on NetBSD-7 where pthread uses kernel semaphores.
Diffstat (limited to 'emu/NetBSD/mkfile')
| -rw-r--r-- | emu/NetBSD/mkfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emu/NetBSD/mkfile b/emu/NetBSD/mkfile index effbaefe..8eda46f3 100644 --- a/emu/NetBSD/mkfile +++ b/emu/NetBSD/mkfile @@ -24,6 +24,7 @@ X11LIBS= -L/usr/X11R7/lib -R/usr/X11R7/lib -lXext -lX11 OBJ=\ asm-$OBJTYPE.$O\ os.$O\ + kproc-pthreads.$O\ $CONF.root.$O\ lock.$O\ $DEVS\ @@ -32,7 +33,7 @@ OBJ=\ HFILES=\ CFLAGS='-DROOT="'$ROOT'"' -DEMU -I. -I../port -I$ROOT/$SYSTARG/$OBJTYPE/include -I$ROOT/include -I$ROOT/libinterp $CTHREADFLAGS $CFLAGS $EMUOPTIONS -SYSLIBS= ${X11LIBS} -lossaudio -lm +SYSLIBS= ${X11LIBS} -lossaudio -lm -lpthread KERNDATE=`{$NDATE} default:V: $O.$CONF |
