Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 23:54:55 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282207 - head/sys/conf
Message-ID:  <201504282354.t3SNstLT000566@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Apr 28 23:54:55 2015
New Revision: 282207
URL: https://svnweb.freebsd.org/changeset/base/282207

Log:
  Only include CWARNFLAGS once to reduce command line size from ~1400
  characters to "only" ~900 for kernel builds.

Modified:
  head/sys/conf/kern.mk
  head/sys/conf/kern.pre.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Tue Apr 28 23:44:47 2015	(r282206)
+++ head/sys/conf/kern.mk	Tue Apr 28 23:54:55 2015	(r282207)
@@ -187,7 +187,7 @@ CFLAGS+=	-fstack-protector
 CFLAGS+=	-gdwarf-2
 .endif
 
-CFLAGS+= ${CWARNEXTRA} ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
+CFLAGS+= ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
 CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}}
 
 # Tell bmake not to mistake standard targets for things to be searched for

Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk	Tue Apr 28 23:44:47 2015	(r282206)
+++ head/sys/conf/kern.pre.mk	Tue Apr 28 23:54:55 2015	(r282207)
@@ -87,7 +87,7 @@ INCLUDES+= -I$S/dev/cxgb -I$S/dev/cxgbe
 
 .endif
 
-CFLAGS=	${COPTFLAGS} ${DEBUG} ${CWARNFLAGS}
+CFLAGS=	${COPTFLAGS} ${DEBUG}
 CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
 CFLAGS_PARAM_INLINE_UNIT_GROWTH?=100
 CFLAGS_PARAM_LARGE_FUNCTION_GROWTH?=1000



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