svn commit: r318956 - head/lib/libthr
Eric van Gyzen
vangyzen at FreeBSD.org
Fri May 26 15:57:55 UTC 2017
Author: vangyzen
Date: Fri May 26 15:57:54 2017
New Revision: 318956
URL: https://svnweb.freebsd.org/changeset/base/318956
Log:
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
Modified:
head/lib/libthr/Makefile
Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile Fri May 26 15:56:28 2017 (r318955)
+++ head/lib/libthr/Makefile Fri May 26 15:57:54 2017 (r318956)
@@ -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
More information about the svn-src-head
mailing list