From owner-svn-src-all@FreeBSD.ORG Sat Aug 21 15:39:06 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863E8106566C; Sat, 21 Aug 2010 15:39:06 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 773278FC16; Sat, 21 Aug 2010 15:39:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7LFd6Y3073684; Sat, 21 Aug 2010 15:39:06 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7LFd6HQ073682; Sat, 21 Aug 2010 15:39:06 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201008211539.o7LFd6HQ073682@svn.freebsd.org> From: Rui Paulo Date: Sat, 21 Aug 2010 15:39:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211572 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 15:39:06 -0000 Author: rpaulo Date: Sat Aug 21 15:39:06 2010 New Revision: 211572 URL: http://svn.freebsd.org/changeset/base/211572 Log: Add clang to the cross-tools build stage. Submitted by: Dimitry Andric Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Sat Aug 21 15:01:59 2010 (r211571) +++ head/Makefile.inc1 Sat Aug 21 15:39:06 2010 (r211572) @@ -1078,8 +1078,15 @@ _kgzip= usr.sbin/kgzip .endif .endif +.if ${CC:T:Mclang} == "clang" +_clang= usr.bin/clang +_clang_libs= lib/clang +.endif + cross-tools: .for _tool in \ + ${_clang_libs} \ + ${_clang} \ gnu/usr.bin/binutils \ gnu/usr.bin/cc \ usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \