HomeFreeBSD

Fix X_COMPILER_* and X_LINKER_* not being passed to installworld environment.

Description

Fix X_COMPILER_* and X_LINKER_* not being passed to installworld environment.

This could lead to 'sh: head: not found' warnings which were a symptom
of running 'ld --version' during installworld. This was only happening
with XCC or XLD set. It is intended that cc and ld do not run during
installworld. The metadata for these are already stored in
compiler-metadata.mk added in r316794.

This also removes redundant CROSSENV additions that were for
WITH_SYSTEM_COMPILER, WITHOUT_CROSS_COMPILER, and WITHOUT_TOOLCHAIN
which all don't have a cc or ld in their PATH during install.

Reported by: Mark Millard
MFC after: 2 weeks
Sponsored by: Dell EMC

Details

Provenance
bdreweryAuthored on
Parents
rS335390: top(1): fix top -mio
Branches
Unknown
Tags
Unknown