svn commit: r296668 - in head: . share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Mar 11 16:57:43 UTC 2016


Author: bdrewery
Date: Fri Mar 11 16:57:41 2016
New Revision: 296668
URL: https://svnweb.freebsd.org/changeset/base/296668

Log:
  Enable FAST_DEPEND by default.
  
  Discussed on:	arch
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/UPDATING
  head/share/mk/bsd.opts.mk

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Fri Mar 11 16:30:51 2016	(r296667)
+++ head/UPDATING	Fri Mar 11 16:57:41 2016	(r296668)
@@ -31,6 +31,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
 	disable the most expensive debugging functionality run
 	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20160311:
+	WITH_FAST_DEPEND is now enabled by default for in-tree and out-of-tree
+	builds.  It no longer runs mkdep(1) during 'make depend', and the
+	'make depend' stage can safely be skipped now as it is auto ran
+	when building 'make all' and will generate all SRCS and DPSRCS before
+	building anything else.  Dependencies are gathered at compile time with
+	-MF flags kept in separate .depend files per object file.  Users should
+	run 'make cleandepend' once if using -DNO_CLEAN to clean out older
+	stale .depend files.
+
 20160306:
 	On amd64, clang 3.8.0 can now insert sections of type AMD64_UNWIND into
 	kernel modules.  Therefore, if you load any kernel modules at boot time,

Modified: head/share/mk/bsd.opts.mk
==============================================================================
--- head/share/mk/bsd.opts.mk	Fri Mar 11 16:30:51 2016	(r296667)
+++ head/share/mk/bsd.opts.mk	Fri Mar 11 16:57:41 2016	(r296668)
@@ -52,6 +52,7 @@ __DEFAULT_YES_OPTIONS = \
     ASSERT_DEBUG \
     DEBUG_FILES \
     DOCCOMPRESS \
+    FAST_DEPEND \
     INCLUDES \
     INSTALLLIB \
     KERBEROS \
@@ -68,7 +69,6 @@ __DEFAULT_YES_OPTIONS = \
 
 __DEFAULT_NO_OPTIONS = \
     CCACHE_BUILD \
-    FAST_DEPEND \
     CTF \
     INSTALL_AS_USER \
     STALE_STAGED


More information about the svn-src-head mailing list