svn commit: r324695 - head/share/mk

Jonathan Anderson jonathan at FreeBSD.org
Tue Oct 17 16:29:52 UTC 2017


Author: jonathan
Date: Tue Oct 17 16:29:50 2017
New Revision: 324695
URL: https://svnweb.freebsd.org/changeset/base/324695

Log:
  Add LLVM IR libraries to CLEANFILES.
  
  We previously taught the build system how to create files like libfoo.bc,
  but neglected to teach it about cleaning such files up. Rectify this now.
  
  MFC after:	1 week
  Sponsored by:	DARPA, AFRL

Modified:
  head/share/mk/bsd.lib.mk

Modified: head/share/mk/bsd.lib.mk
==============================================================================
--- head/share/mk/bsd.lib.mk	Tue Oct 17 16:03:59 2017	(r324694)
+++ head/share/mk/bsd.lib.mk	Tue Oct 17 16:29:50 2017	(r324695)
@@ -209,6 +209,8 @@ lib${LIB_PRIVATE}${LIB}.bc: ${BCOBJS}
 
 lib${LIB_PRIVATE}${LIB}.ll: ${LLOBJS}
 	${LLVM_LINK} -S -o ${.TARGET} ${LLOBJS}
+
+CLEANFILES+=	lib${LIB_PRIVATE}${LIB}.bc lib${LIB_PRIVATE}${LIB}.ll
 .endif
 
 .if defined(SHLIB_NAME) || \


More information about the svn-src-head mailing list