Bruce Evans wrote:
> This is a bug in bsd.kern.mk.  -ffreestanding never belonged there, since
> it is also needed for modules and perhaps for boot programs and libstand.
> Module makefiles still include <bsd.kern.mk>, but Makefiles for boot
> programs have regressed.
> 
> Your x86 box must be out of date.  x86 has gcc-3 and adds -ffreestanding
> unconditionally, so -ffreestanding is added twice for all arches.  I have
> been using the following fix since this bug was committed.

What exactly does this do, besides implying "-fno-builtin"?

The documentation says "and implies main has no special requirements"...

Neither the kernel nor modules have a "main", so the only thing that's
relevent here is the "-fno-builtin", right?

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to