Date: Wed, 04 May 2011 16:20:41 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Manfred Antar <null@pozo.com> Cc: current@FreeBSD.org Subject: Re: Clang error make buildworld Message-ID: <4DC160B9.5060004@FreeBSD.org> In-Reply-To: <201105041344.p44DiOId032272@pozo.com> References: <201105040107.p4417NTR048534@pozo.com> <4DC0F46C.3020806@FreeBSD.org> <201105041344.p44DiOId032272@pozo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-05-04 15:44, Manfred Antar wrote: ... > src.conf: > > WITHOUT_DYNAMICROOT=yes > WITH_IDEA=yes > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > #Don't die on warnings > NO_WERROR= > WERROR= Aha. Please move the clang-related stuff to make.conf instead, e.g. this fragment: .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif #Don't die on warnings NO_WERROR= WERROR= It will not work properly if you put it in src.conf. (You can really only use src.conf for WITH_FOO and WITHOUT_BAR type settings.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC160B9.5060004>