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) || \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to