libthr: disable thread-safety warnings

These warnings don't make sense for code that implements
the locking primitives.

Reviewed by:	kib
MFC after:	3 days
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D10832
This commit is contained in:
Eric van Gyzen 2017-05-20 17:29:36 +00:00
parent 8af0c00bd6
commit 6eccf6e38f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318580

View File

@ -17,6 +17,7 @@ MK_SSP= no
LIB=thr
SHLIB_MAJOR= 3
WARNS?= 3
NO_WTHREAD_SAFETY=1
CFLAGS+=-DPTHREAD_KERNEL
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \
-I${SRCTOP}/include