diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libthread/mkfile | 4 | ||||
-rw-r--r-- | src/libthread/sysofiles.sh | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/libthread/mkfile b/src/libthread/mkfile index e77517a8..b1bf3ccf 100644 --- a/src/libthread/mkfile +++ b/src/libthread/mkfile @@ -24,7 +24,9 @@ tspawnloop: tspawnloop.$O 9l -o $target $target.$O $PLAN9/lib/$LIB -l9 -lpthread %.$O: %.c - 9c -I. $stem.c + $CC -I. $stem.c + +NetBSD.$O: Linux.c test:V: tprimes tspawn primes 1 10007 >p1.txt diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh index a7af0f5b..37ab6eb5 100644 --- a/src/libthread/sysofiles.sh +++ b/src/libthread/sysofiles.sh @@ -17,6 +17,9 @@ case "$tag" in *-FreeBSD-*) echo $SYSNAME.o ${SYSNAME}asm.o ;; +*-NetBSD-*) + echo $SYSNAME.o ${SYSNAME}asm.o + ;; *-Darwin-*) echo ${SYSNAME}-${OBJTYPE}-asm.o ${SYSNAME}-${OBJTYPE}.o pthread.o ;; |