On Wed, Feb 23, 2011 at 10:22 AM, datastream datastream.freecity <datastream.freecity_at_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 BotelhoReceived on Wed Feb 23 2011 - 12:31:56 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC