5b17093cb1
- Fix crash when spice used and the qemu-audio-spice package isn't installed (boo#1180210) audio-add-sanity-check.patch - Add some stable patches from upstream block-Fix-deadlock-in-bdrv_co_yield_to_d.patch block-Fix-locking-in-qmp_block_resize.patch block-nfs-fix-int-overflow-in-nfs_client.patch block-Simplify-qmp_block_resize-error-pa.patch build-no-pie-is-no-functional-linker-fla.patch OBS-URL: https://build.opensuse.org/request/show/860516 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=599
27 lines
889 B
Diff
27 lines
889 B
Diff
From: Bruce Rogers <brogers@suse.com>
|
|
Date: Tue, 28 May 2019 14:23:37 -0600
|
|
Subject: configure: only populate roms if softmmu
|
|
|
|
Currently roms are mistakenly getting built in a linux-user only
|
|
configuration. Add check for softmmu in all places where our list of
|
|
roms is being added to.
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 7ce723bbe769dac2af8456079e89..a1312935a5683ed740c9b6143c6b 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -5858,7 +5858,7 @@ if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \
|
|
fi
|
|
|
|
# Only build s390-ccw bios if we're on s390x and the compiler has -march=z900
|
|
-if test "$cpu" = "s390x" ; then
|
|
+if test "$cpu" = "s390x" && test "$softmmu" = yes ; then
|
|
write_c_skeleton
|
|
if compile_prog "-march=z900" ""; then
|
|
roms="$roms s390-ccw"
|