Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 22:09:00 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r311558 - stable/11
Message-ID:  <201701062209.v06M90eq014720@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Jan  6 22:09:00 2017
New Revision: 311558
URL: https://svnweb.freebsd.org/changeset/base/311558

Log:
  MFC r311131:
  
  Make native-xtools build correctly after clang/llvm 3.9.0 import
  
  During the clang/llvm 3.9.0 import, the build structure for it was
  completely revamped.  This broke the native-xtools target.
  
  It first attempts to build libllvmminimal, then the llvm-tblgen and
  clang-tblgen executables, but these fail to link because they are linked
  to the 'full' libllvm by default, as they normally are during the
  'world' stage.
  
  To make these link against libllvmminimal instead, define TOOLS_PREFIX,
  similarly as during the bootstrap-tools phase.  The value itself is
  empty, as we don't really want to use a prefix.
  
  Reviewed by:	imp
  PR:		215684
  Differential Revision:	https://reviews.freebsd.org/D9026

Modified:
  stable/11/Makefile.inc1
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/Makefile.inc1
==============================================================================
--- stable/11/Makefile.inc1	Fri Jan  6 22:03:36 2017	(r311557)
+++ stable/11/Makefile.inc1	Fri Jan  6 22:09:00 2017	(r311558)
@@ -1839,6 +1839,7 @@ cross-tools: .MAKE .PHONY
 
 NXBDESTDIR=	${OBJTREE}/nxb-bin
 NXBENV=		MAKEOBJDIRPREFIX=${OBJTREE}/nxb \
+		TOOLS_PREFIX= \
 		INSTALL="sh ${.CURDIR}/tools/install.sh" \
 		PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin
 NXBMAKE=	${NXBENV} ${MAKE} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701062209.v06M90eq014720>