Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2010 15:39:06 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211572 - head
Message-ID:  <201008211539.o7LFd6HQ073682@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <dimitry at andric.com>

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 \



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