<pre style='margin:0'>
Landon Fuller (landonf) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d3da14b4a4fc10ae2368f3e538952754a0ed4c2f">https://github.com/macports/macports-ports/commit/d3da14b4a4fc10ae2368f3e538952754a0ed4c2f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new d3da14b4a4f qemu: fix build on arm64; pass a valid --cpu= flag
</span>d3da14b4a4f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit d3da14b4a4fc10ae2368f3e538952754a0ed4c2f
</span>Author: Landon Fuller <landonf@macports.org>
AuthorDate: Mon Sep 13 20:15:09 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    qemu: fix build on arm64; pass a valid --cpu= flag
</span>---
 emulators/qemu/Portfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/qemu/Portfile b/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 89c4bd61e99..43ac1c6b83d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/qemu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +56,12 @@ if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span> }
 
 # Select compiler
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args          --cpu=${configure.build_arch} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {"${configure.build_arch}" eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set host_cpu "aarch64"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set host_cpu "${configure.build_arch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args          --cpu=${host_cpu} \
</span>                         --cc=${configure.cc} \
                         --objcc=${configure.objc} \
                         --host-cc=${configure.cc} \
</pre><pre style='margin:0'>

</pre>