git: 7b81e6c7caf2 - main - Support bootstrapping from Linux/ppc*
Justin Hibbits
jhibbits at FreeBSD.org
Sat Sep 4 16:48:46 UTC 2021
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=7b81e6c7caf23adca6a2cabdfdf29985eab9865d
commit 7b81e6c7caf23adca6a2cabdfdf29985eab9865d
Author: Justin Hibbits <jhibbits at FreeBSD.org>
AuthorDate: 2021-09-04 16:45:56 +0000
Commit: Justin Hibbits <jhibbits at FreeBSD.org>
CommitDate: 2021-09-04 16:47:30 +0000
Support bootstrapping from Linux/ppc*
---
tools/build/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 3b49eb44475e..742432872c49 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -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
More information about the dev-commits-src-all
mailing list