From 6eccf6e38f540e90d2cffd7c70c52794041333e9 Mon Sep 17 00:00:00 2001 From: Eric van Gyzen Date: Sat, 20 May 2017 17:29:36 +0000 Subject: [PATCH] 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 --- lib/libthr/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 5b3e3bff71b..fc38064cb6d 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -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