Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2011 07:09:16 -0300
From:      Alex Kuster <vertex.symphony@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: CLANG; still cc in use when building the WORLD with CLANG?
Message-ID:  <201108300709.23538.vertex.Symphony@gmail.com>
In-Reply-To: <4E5CB1E9.9080801@zedat.fu-berlin.de>
References:  <4E5CB1E9.9080801@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



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