]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP
authorEd Maste <emaste@FreeBSD.org>
Sat, 30 May 2020 19:16:33 +0000 (19:16 +0000)
committerEd Maste <emaste@FreeBSD.org>
Sat, 30 May 2020 19:16:33 +0000 (19:16 +0000)
commitaf097a7d500a9b798bd90bf978d95ff15c484dac
treea40e342f42a9632375abafba9de711a8ab8f1627
parentb0763b5ddd25e78c31ed1bea0c8ee4e6c19dc5bd
binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP

Previously we descended into as only if MK_BINUTILS was true, including
during the bootstrap tool phase.  BINUTILS is now disabled by default on
all archs, and we failed to build it during amd64 bootstrap.

Descend into as if either BINUTILS or BINUTILS_BOOTSTRAP is enabled.

This is not quite correct: we should either have the test also depend on
BOOTSTRAPPING, or set BINUTILS to the value of BINUTILS_BOOTSTRAP during
the bootstrap phase.  However, this simple change fixes the build and
has been tested, and binutils will be removed completely in the near
future.
gnu/usr.bin/binutils/Makefile