mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
libthr: increase WARNS to the default (6)
...and silence cast-align warnings from gcc. Reviewed by: kib MFC after: 3 days Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10935
This commit is contained in:
parent
718fb5ba5b
commit
afba14e2b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318956
@ -16,8 +16,8 @@ MK_SSP= no
|
|||||||
|
|
||||||
LIB=thr
|
LIB=thr
|
||||||
SHLIB_MAJOR= 3
|
SHLIB_MAJOR= 3
|
||||||
WARNS?= 3
|
|
||||||
NO_WTHREAD_SAFETY=1
|
NO_WTHREAD_SAFETY=1
|
||||||
|
NO_WCAST_ALIGN.gcc=1 # for gcc 4.2
|
||||||
CFLAGS+=-DPTHREAD_KERNEL
|
CFLAGS+=-DPTHREAD_KERNEL
|
||||||
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \
|
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \
|
||||||
-I${SRCTOP}/include
|
-I${SRCTOP}/include
|
||||||
|
Loading…
Reference in New Issue
Block a user