build - Make sure /usr/local/bin is NOT in the $PATH for kernel
commit50b159a79e5f13e6ace8ff62349b917b1288063f
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 May 2019 04:46:16 +0000 (3 21:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 May 2019 04:46:16 +0000 (3 21:46 -0700)
tree8f19ca4cd15c246f2ece9ac03a8321546e5129a3
parent07cb5299a353bee8613a920f253fa19b56cdf60f
build - Make sure /usr/local/bin is NOT in the $PATH for kernel

* Make sure /usr/local/bin is NOT in the $PATH when building the
  kernel.  If it is, a dports-installed binutils can cause an
  incompatible linker (e.g. one that doesn't recognize LDVER, for
  example) to be used, blowing up incremental builds between
  buildkernel, nativekernel, and manual builds from the object
  directory ( /usr/obj/usr/src/sys/<KERNEL_CONFIG> ).
sys/conf/kern.pre.mk