svn commit: r291560 - head/lib/clang/include

Bryan Drewery bdrewery at FreeBSD.org
Tue Dec 1 05:19:00 UTC 2015


Author: bdrewery
Date: Tue Dec  1 05:18:59 2015
New Revision: 291560
URL: https://svnweb.freebsd.org/changeset/base/291560

Log:
  META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host is
  staged.
  
  None of usr.bin/clang/clang-tblgen or its dependencies need
  lib/clang/include, so there is no cyclic dependency here to worry about.
  The issue came about because of workarounds to dependencies on clang
  being optional.
  
  Without this, the clang-tblgen called during the build would change
  after it was staged for the host.  This would cause lib/clang/include to
  rebuild due to changed build commands.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/lib/clang/include/Makefile
  head/lib/clang/include/Makefile.depend

Modified: head/lib/clang/include/Makefile
==============================================================================
--- head/lib/clang/include/Makefile	Tue Dec  1 05:18:55 2015	(r291559)
+++ head/lib/clang/include/Makefile	Tue Dec  1 05:18:59 2015	(r291560)
@@ -67,7 +67,4 @@ INCS=	__stddef_max_align_t.h \
 GENINCS= arm_neon.h
 CLEANFILES= ${GENINCS} ${GENINCS:C/\.h$/.d/}
 
-# avoid a circular dependency
-GENDIRDEPS_FILTER+= Nusr.bin/clang/clang-tblgen.host
-
 .include <bsd.prog.mk>

Modified: head/lib/clang/include/Makefile.depend
==============================================================================
--- head/lib/clang/include/Makefile.depend	Tue Dec  1 05:18:55 2015	(r291559)
+++ head/lib/clang/include/Makefile.depend	Tue Dec  1 05:18:59 2015	(r291560)
@@ -2,6 +2,7 @@
 # Autogenerated - do NOT edit!
 
 DIRDEPS = \
+	usr.bin/clang/clang-tblgen.host \
 
 
 .include <dirdeps.mk>


More information about the svn-src-head mailing list