Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [solved] Re: evbppc and alpha build breakage, but not in releng autobuild



On Wed, Mar 20, 2013 at 03:21:10PM +0000, Taylor R Campbell wrote:
> Mystery solved:  I had forgotten that I also had a few lines in my
> mk.conf in a flailing attempt to force the toolchain to use -pipe
> everywhere, so that it wouldn't waste time writing to /var/tmp on
> disk, since parts of the toolchain don't seem to respect TMPDIR.
> 
>    CFLAGS+=   -pipe
>    AFLAGS+=   -pipe

Explicitly setting CFLAGS, AFLAGS, etc. like this will cause severe
misbehavior.  It overrides the composition of the flags at many
different points within the build and will cause unobvious lossage
that is hard to debug even when it does not cause an immediate
build-time explosion.  Don't ever do it.

Thor


Home | Main Index | Thread Index | Old Index