Add some verbage about make environment poisoning.

Submitted by: sheldonh
Ignored for two months by: imp
This commit is contained in:
Warner Losh 2002-01-26 21:33:07 +00:00
parent d5af31a255
commit 5780f3ba93

View File

@ -812,6 +812,13 @@ COMMON ITEMS:
or several minor releases, or when several months have passed
on the -current branch).
Sometimes, obscure build problems are the result of environment
poisoning. This can happen because the make utility reads its
environment when searching for values for global variables.
To run your build attempts in an "environmental clean room",
prefix all make commands with 'env -i '. See the env(1) manual
page for more details.
To build a kernel
-----------------
If you are updating from a prior version of FreeBSD (even one just