Date: Wed, 23 Feb 2011 10:31:34 -0300 From: Renato Botelho <rbgarga@gmail.com> To: "datastream datastream.freecity" <datastream.freecity@gmail.com> Cc: Olivier Smedts <olivier@gid0.org>, freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: Can't buildworld since Clang update Message-ID: <AANLkTinT1=te=2kJVqCQGMxc-1M=oiuG687YdL7aptv_@mail.gmail.com> In-Reply-To: <AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4@mail.gmail.com> References: <AANLkTimw-btyXh2kbz3r_T9gQVSNuTXVY=JyYsMtG8_z@mail.gmail.com> <4D627FBE.1070700@FreeBSD.org> <AANLkTin3KAOzY3PFcVzMdRaawvf2JD1ogh2-j_dJrR6m@mail.gmail.com> <4D63D28B.4080900@FreeBSD.org> <AANLkTi=3s7DSK=%2BXCbac_fjVGaYZT5-0p3f_E=L59tb4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 23, 2011 at 10:22 AM, datastream datastream.freecity <datastream.freecity@gmail.com> wrote: > I deleted all files in /usr/src and /usr/obj. it changes nothing, i still > get same error. > > In /etc/make.conf: > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > # Don't die on warnings > NO_WERROR= > WERROR= > STRIP= > CFLAGS+=-fno-omit-frame-pointer I'm not having problems here, my /etc/make.conf contains: .if ${.CURDIR:N*usr/src*}=="" . if !defined(CC) || ${CC} == "cc" CC=clang . endif . if !defined(CXX) || ${CXX} == "c++" CXX=clang++ . endif # Don't die on warnings NO_WERROR= WERROR= .endif And my /etc/src.conf: .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's building fine with clang. -- Renato Botelho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinT1=te=2kJVqCQGMxc-1M=oiuG687YdL7aptv_>