HomeFreeBSD

Stop building with the standard system headers.

Description

Stop building with the standard system headers.

Building with the standard system headers isn't a perfect match to the
stand environment. Instead, copy over the files we know are safe to
use and constrain what else is used. We use -nostdinc to achieve this.

This also fixes issues with building 32-bit libraries on amd64
sometimes pulling in the wrong cpufunc.h giving an error now that we
stop on errors. It will also enable an easier transition to lua boot.

Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS326592: Don't inherit CFLAGS. This a specialized test program, and can be
Branches
Unknown
Tags
Unknown