]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix X_COMPILER_* and X_LINKER_* not being passed to installworld environment.
authorBryan Drewery <bdrewery@FreeBSD.org>
Tue, 19 Jun 2018 23:39:55 +0000 (23:39 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Tue, 19 Jun 2018 23:39:55 +0000 (23:39 +0000)
commitaafc33396ea9fe146acab1ca0dd353a52943e601
tree861c1a7fd1f1c493dffc307f0b08f7bb3100aaba
parent3edda95c9d583f5df4db2ca21bb2a92a885a1748
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
Makefile.inc1