svn commit: r305223 - projects/clang390-import/usr.bin/clang

Bryan Drewery bdrewery at FreeBSD.org
Thu Sep 1 18:35:38 UTC 2016


Author: bdrewery
Date: Thu Sep  1 18:35:37 2016
New Revision: 305223
URL: https://svnweb.freebsd.org/changeset/base/305223

Log:
  DIRDEPS_BUILD: Use libllvmminimal for tblgen for the host build.
  
  The host tools are only ever built for the same reason as TOOLS_PREFIX, for running
  during the build.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  projects/clang390-import/usr.bin/clang/llvm.prog.mk

Modified: projects/clang390-import/usr.bin/clang/llvm.prog.mk
==============================================================================
--- projects/clang390-import/usr.bin/clang/llvm.prog.mk	Thu Sep  1 18:33:39 2016	(r305222)
+++ projects/clang390-import/usr.bin/clang/llvm.prog.mk	Thu Sep  1 18:35:37 2016	(r305223)
@@ -7,7 +7,7 @@ CFLAGS+=	-I${OBJTOP}/lib/clang/libllvm
 .include "${SRCTOP}/lib/clang/llvm.build.mk"
 
 # Special case for the bootstrap-tools phase.
-.if defined(TOOLS_PREFIX) && \
+.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
     (${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "llvm-tblgen")
 LIBDEPS+=	llvmminimal
 .else


More information about the svn-src-projects mailing list