1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Support bootstrapping from Linux/ppc*

This commit is contained in:
Justin Hibbits 2021-09-04 11:45:56 -05:00
parent eb937f67f8
commit 7b81e6c7ca

View File

@ -125,6 +125,8 @@ _host_arch=${MACHINE}
.if ${_host_arch} == "x86_64"
# bmake on Linux/mac often prints that instead of amd64
_host_arch=amd64
.elif ${_host_arch:Mppc*}
_host_arch=powerpc
.endif
.if ${_host_arch} == "unknown"
# HACK: If MACHINE is unknown, assume we are building on x86