]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
binutils: build as with BINUTILS || BINUTILS_BOOTSTRAP
authoremaste <emaste@FreeBSD.org>
Sat, 30 May 2020 19:16:33 +0000 (19:16 +0000)
committeremaste <emaste@FreeBSD.org>
Sat, 30 May 2020 19:16:33 +0000 (19:16 +0000)
commit21e287138d3f716fa9fcf0ca2300d0be1b3a9071
treea40e342f42a9632375abafba9de711a8ab8f1627
parent806af30461f721aa295b7baa0a8c2ae30470dd58
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