Date: Mon, 11 Jun 2012 12:31:04 +0300 From: Alexander Panyushkin <vsityz@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-stable@freebsd.org Subject: Re: world not build Message-ID: <4FD5BAD8.8080602@gmail.com> In-Reply-To: <4FD5B788.1090700@FreeBSD.org> References: <4FD5AE32.50601@gmail.com> <4FD5B788.1090700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
11.06.2012 12:16, Dimitry Andric =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB= : > On 2012-06-11 10:37, Alexander Panyushkin wrote: > ... >> make.conf >> =3D=3D=3D=3D=3D=3D=3D=3D=3D >> CPUTYPE?=3Dnocona >> KERNCONF=3DKernel >> MAKE_JOBS_NUMBER=3D4 >> >> .if ${.CURDIR:M/usr/src} || ${.CURDIR:M/usr/src/*} || >> ${.CURDIR:M/usr/obj} || ${.CURDIR:M/usr/obj/*} || ${.CURDIR:M/sys} || >> ${.CURDIR:M/sys/*} >> CFLAGS+=3D -D_FORTIFY_SOURCE=3D2 >> .if !defined(CPP) || ${CPP} =3D=3D "cpp" >> CPP=3Dclang-cpp >> .endif >> .endif >> >> .if !defined(CC) || ${CC} =3D=3D "cc" >> CC=3Dclang >> .endif >> .if !defined(CXX) || ${CXX} =3D=3D "c++" >> CXX=3Dclang++ >> .endif > ... >> =3D=3D=3D> lib/libc++ (depend) >> rm -f .depend >> mkdep -f .depend -a -D_FORTIFY_SOURCE=3D2 >> -I/usr/src/lib/libc++/../../contrib/libc++/include >> -I/usr/src/lib/libc++/../../contrib/libcxxrt -DLIBCXXRT > Something in your make.conf is not working properly, causing mkdep to > run with gcc instead of clang. I suggest removing the .if statements, > and simply using: > > CC=3Dclang > CXX=3Dclang++ > CPP=3Dclang-cpp I removed make.conf, but the problem remains
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD5BAD8.8080602>