Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 15:57:54 +0000 (UTC)
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318956 - head/lib/libthr
Message-ID:  <201705261557.v4QFvsK2088401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705261557.v4QFvsK2088401>