-diff -ur qemu-6.2.0.orig/configure qemu-6.2.0/configure
---- qemu-6.2.0.orig/configure 2022-01-23 13:48:29.104596968 +0100
-+++ qemu-6.2.0/configure 2022-01-23 13:48:53.080645444 +0100
-@@ -3349,7 +3349,7 @@
+diff -ur qemu-7.0.0.orig/configure qemu-7.0.0/configure
+--- qemu-7.0.0.orig/configure 2022-06-03 00:32:41.475669725 +0200
++++ qemu-7.0.0/configure 2022-06-03 00:33:45.782798282 +0200
+@@ -2701,7 +2701,7 @@
# Mac OS X ships with a broken assembler
roms=
-if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \
+if { test "$cpu" = "i386" || test "$cpu" = "x86_64" || test "$cpu" = "x32"; } && \
- test "$targetos" != "Darwin" && test "$targetos" != "SunOS" && \
- test "$targetos" != "Haiku" && test "$softmmu" = yes ; then
+ test "$targetos" != "darwin" && test "$targetos" != "sunos" && \
+ test "$targetos" != "haiku" && test "$softmmu" = yes ; then
# Different host OS linkers have different ideas about the name of the ELF