aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-08-12 22:45:09 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-08-12 22:45:09 +0000
commitcef65082ae12aabaac176a61ffc49f37c97a58c3 (patch)
treefa8b6c90940eaf98d067d6250028762ac2ca96cd /tools/build/cross-build
parentc5bf58add0d523fc6e6546f3fc10d0c8b972e8e7 (diff)
downloadsrc-cef65082ae12aabaac176a61ffc49f37c97a58c3.tar.gz
src-cef65082ae12aabaac176a61ffc49f37c97a58c3.zip
bsd.compiler.mk: Fix cross-building from non-FreeBSD
On non-FreeBSD, the various MACHINE variables for the host when bootstrapping can be missing or not match FreeBSD's naming, causing bsd.endian.mk to be unable to infer the endianness. Work around this by assuming it's unsupported. Note that we can't check BOOTSTRAPPING here as Makefile.inc1 includes bsd.compiler.mk before that is set, and so we are unable to catch errors during buildworld itself when cross-building and bsd.endian.mk failed, but such errors should also show up when building on FreeBSD. Fixes: 47363e99d3d3 ("Enable compressed debug on little-endian targets")
Diffstat (limited to 'tools/build/cross-build')
0 files changed, 0 insertions, 0 deletions