HomePhabricator

build: set --build when configuring packages in depends

Description

build: set --build when configuring packages in depends

Summary:

After reading
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/autoconf.html#Specifying-Target-Triplets,
my understanding is that this change should mostly be a no-op, as
--build defaults to the output of config.guess, however, this may be
slightly more correct
>  For historical reasons, whenever you specify --host, be sure to
> specify --build too; this will be fixed in the future.

and will quell some warnings in depends (#16354). If anything, this
also explicitly enables cross-compilation mode when `--host` differs
from `--build`.

As for "fixed in the future", this is the case for Autoconf 2.70+.

Backport of core#21403.

Test Plan: Run the guix builds.

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

Differential Revision: https://reviews.bitcoinabc.org/D16918

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Mar 10 2021, 03:42
FabienCommitted on Fri, Oct 18, 08:17
FabienPushed on Fri, Oct 18, 08:17
Reviewer
roqqit
Differential Revision
D16918: build: set --build when configuring packages in depends
Parents
rABC39f9d29abaa1: [ecash-herald] Send daily summaries covering exact 24-hr windows
Branches
Unknown
Tags
Unknown