diff options
author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-05-26 15:57:54 +0000 |
---|---|---|
committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-05-26 15:57:54 +0000 |
commit | afba14e2b85463b8dedde7dad5957251cc216513 (patch) | |
tree | e1471fbe2b9d8a0d0101f7ed973b9b1b194acf53 /lib/libthr/Makefile | |
parent | 718fb5ba5b89fdc75ed8a575838c418f4f23f661 (diff) | |
download | src-afba14e2b85463b8dedde7dad5957251cc216513.tar.gz src-afba14e2b85463b8dedde7dad5957251cc216513.zip |
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
Notes
Notes:
svn path=/head/; revision=318956
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r-- | lib/libthr/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index 60cb420cb8c4..ffdb7b86b834 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -16,8 +16,8 @@ MK_SSP= no LIB=thr SHLIB_MAJOR= 3 -WARNS?= 3 NO_WTHREAD_SAFETY=1 +NO_WCAST_ALIGN.gcc=1 # for gcc 4.2 CFLAGS+=-DPTHREAD_KERNEL CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}/thread \ -I${SRCTOP}/include |