Sun Jan 24 15:11:08 2016 UTC ()
t_lwp_create needs kernel types.


(christos)
diff -r1.40 -r1.41 src/tests/lib/libc/sys/Makefile

cvs diff -r1.40 -r1.41 src/tests/lib/libc/sys/Makefile (expand / switch to unified diff)

--- src/tests/lib/libc/sys/Makefile 2016/01/23 21:22:49 1.40
+++ src/tests/lib/libc/sys/Makefile 2016/01/24 15:11:08 1.41
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.40 2016/01/23 21:22:49 christos Exp $ 1# $NetBSD: Makefile,v 1.41 2016/01/24 15:11:08 christos Exp $
2 2
3MKMAN= no 3MKMAN= no
4 4
5.include <bsd.own.mk> 5.include <bsd.own.mk>
6 6
7.include "../arch/Makefile.exec_prot" 7.include "../arch/Makefile.exec_prot"
8 8
9TESTSDIR= ${TESTSBASE}/lib/libc/sys 9TESTSDIR= ${TESTSBASE}/lib/libc/sys
10 10
11TESTS_C+= t_access 11TESTS_C+= t_access
12TESTS_C+= t_bind 12TESTS_C+= t_bind
13TESTS_C+= t_chroot 13TESTS_C+= t_chroot
14TESTS_C+= t_clock_gettime 14TESTS_C+= t_clock_gettime
@@ -67,17 +67,18 @@ TESTS_C+= t_umask @@ -67,17 +67,18 @@ TESTS_C+= t_umask
67TESTS_C+= t_unlink 67TESTS_C+= t_unlink
68TESTS_C+= t_write 68TESTS_C+= t_write
69 69
70SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT} 70SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT}
71 71
72LDADD.t_getpid+= -lpthread 72LDADD.t_getpid+= -lpthread
73 73
74.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE) 74.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
75CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES 75CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES
76TESTS_C+= t_posix_fadvise 76TESTS_C+= t_posix_fadvise
77LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread 77LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
78.endif 78.endif
79 79
 80CPPFLAGS.t_lwp_create.c += -D_KERNTYPES
 81
80WARNS= 4 82WARNS= 4
81 83
82.include <bsd.test.mk> 84.include <bsd.test.mk>
83