From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 13:14:20 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34BCA1065675 for ; Tue, 30 Aug 2011 13:14:20 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC8638FC0C for ; Tue, 30 Aug 2011 13:14:19 +0000 (UTC) Received: by qwc9 with SMTP id 9so4810123qwc.13 for ; Tue, 30 Aug 2011 06:14:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.47.213 with SMTP id o21mr6570635qcf.278.1314710059198; Tue, 30 Aug 2011 06:14:19 -0700 (PDT) Received: by 10.229.3.84 with HTTP; Tue, 30 Aug 2011 06:14:19 -0700 (PDT) In-Reply-To: <201108300709.23538.vertex.Symphony@gmail.com> References: <4E5CB1E9.9080801@zedat.fu-berlin.de> <201108300709.23538.vertex.Symphony@gmail.com> Date: Tue, 30 Aug 2011 15:14:19 +0200 Message-ID: From: Olivier Smedts To: Alex Kuster Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, "O. Hartmann" Subject: Re: CLANG; still cc in use when building the WORLD with CLANG? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2011 13:14:20 -0000 2011/8/30 Alex Kuster : > I would also recommend you to move the clang stuff for base system where = it > belongs ( /etc/src.conf .. see src.conf(5) =A0). >From http://wiki.freebsd.org/BuildingFreeBSDWithClang Add the following lines to /etc/make.conf: .if !defined(CC) || ${CC} =3D=3D "cc" CC=3Dclang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3Dclang++ .endif .if !defined(CPP) || ${CPP} =3D=3D "cpp" CPP=3Dclang -E .endif # Don't die on warnings NO_WERROR=3D WERROR=3D # Don't forget this when using Jails! NO_FSCHG=3D So make.conf seems to be the good place. --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."