mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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:
parent
8af0c00bd6
commit
6eccf6e38f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318580
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue