mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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