From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 10:08:33 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 EAECB1065672 for ; Tue, 30 Aug 2011 10:08:32 +0000 (UTC) (envelope-from vertex.symphony@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A51538FC13 for ; Tue, 30 Aug 2011 10:08:32 +0000 (UTC) Received: by gyd10 with SMTP id 10so6609950gyd.13 for ; Tue, 30 Aug 2011 03:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; bh=wcnge5jzBkOILMW6lXiREqAvNg9c5P/dJ3HQ/fUWIZ8=; b=IQxsa4fC1Cuk+6E3nMnLGDLvA64b8K2dOoAZed9Jp/Ekh96sndMGU3mhxYzb7fVPXs HIlTrco7FSfs/L5JOjygox7OI0RXf0o2wySQMN/XK/PBNF4hRuB8DLqWwpJc0BY/jxD/ TKsJz1q5zlUcLhK2hHn02Sl+XYigDiIKIxlLE= Received: by 10.91.167.17 with SMTP id u17mr4835415ago.162.1314698911486; Tue, 30 Aug 2011 03:08:31 -0700 (PDT) Received: from symphony.gl (229-55-16-190.fibertel.com.ar [190.16.55.229]) by mx.google.com with ESMTPS id h25sm5853908anm.30.2011.08.30.03.08.29 (version=SSLv3 cipher=OTHER); Tue, 30 Aug 2011 03:08:30 -0700 (PDT) From: Alex Kuster To: freebsd-current@freebsd.org Date: Tue, 30 Aug 2011 07:09:16 -0300 User-Agent: KMail/1.13.7 (FreeBSD/9.0-BETA2; KDE/4.6.5; amd64; ; ) References: <4E5CB1E9.9080801@zedat.fu-berlin.de> In-Reply-To: <4E5CB1E9.9080801@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2104562.rnqSDDEBve"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201108300709.23538.vertex.Symphony@gmail.com> 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 10:08:33 -0000 --nextPart2104562.rnqSDDEBve Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, read this -> http://lists.freebsd.org/pipermail/freebsd-current/2011- August/thread.html#26468 Using the /etc/make.conf with CURDIR approach seems to be broken from some= =20 time now ... I would also recommend you to move the clang stuff for base system where it= =20 belongs ( /etc/src.conf .. see src.conf(5) ). > ###################################### > # FreeBSD source tree config options >=20 > .if !defined(NO_CLANG) > CC=3Dclang > CXX=3Dclang++ >=20 > # Don't die on warnings > NO_WERROR=3D > WERROR=3D >=20 > CFLAGS+=3D"-O2" >=20 > # Don't forget this when using Jails! > #NO_FSCHG=3D > .endif (That's more or less how my /etc/src.conf is )=20 or you could just change this : > .if !empty(.CURDIR:M/usr/src*) to this : > .if !empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj/*) Choose whatever you like. Cheers. =2D-=20 =2D----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M/MU d-x s+:- !a C++(+++)@>$=20 UBLVS++++>$ P+ L+++(++++) E- W++=20 N++(+++) o K- w--- !O- M-@ !V PS++@=20 PE? Y+ PGP+++ t- 5? X- R* tv-- b+=20 DI+ D+(++) G h-- r++@ z?**=20 =2D-----END GEEK CODE BLOCK------ --nextPart2104562.rnqSDDEBve Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQIcBAABAgAGBQJOXLbTAAoJED1wlbGnT7sQohYQAIqbqGV2gBr5RnaYxrCyDmL0 tKSYsRW1hkAOo6sDA5Jn4Gk+jeEUo8lZSIpExpFmv7rqMOieQ5I+47Jka9bs7Qk5 58dwgr0+xuxCgrWPDUFahwfRgT+Nrq7PSnAhzsmhKlq9YUS7uq/gOmRhKkEWicH5 vNTAb3o2v61QFtjjVEuzcApCi1T5S4TEuzwfhTch5eVUue7GWseTSHIng6EOYRKJ IAh/fQOuh6ZtsbTy8zyrvgXmxgAVe40q7Khwr1BLFqp9ErwiXrmFS+XvUjH176Qw TDpmz+KDL7mb9ju2ejflJZQYyLctGhdLfUlcq0Gge0xNtfLK4MXKPUv1yObn1Fzn Clc2HXauvYHq0KQqzSK/J0rLVqIUz6tHx00gOa6seg4quduEo3a7T5pprt+CzeHD hASYBOk8nSBuEycpUeTmDKE8vNaPkme5AuFTFmHFJEITcVPZeMvB6ypw2R4zXKSK G3fIkMeL/FodXdb2WuvTmO9gY2wjOeclQQfHSx1Z8b7yack0JxdL6i61tl7A93OD OWXsQPB6ogsODX7XrdnEFtHlPCaBvXz+QVkGaUofdJZ+kb7sPUaVe1Si5KiNVZ8p fX66Qp0zdWnHrk84SaVvSpu1AfMVecG4bhhrbgYMM9N590epSMPtgUZJSisJzh3P OMlZF9BosNrrip/FqWrE =+95q -----END PGP SIGNATURE----- --nextPart2104562.rnqSDDEBve--