Re: CLANG; still cc in use when building the WORLD with CLANG?
2011/8/30 Alex Kuster <vertex.symphony@gmail.com>:
> 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."
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 16 篇):