f099b2fad1
Fix build issues for some older distros. Also includes fixing broken parts of spec file when not building x86 firmware. OBS-URL: https://build.opensuse.org/request/show/493037 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=338
29 lines
777 B
Diff
29 lines
777 B
Diff
From eebe76eeffb2166f2ce71bd3445498e989235aa2 Mon Sep 17 00:00:00 2001
|
|
From: markkp <mpost@suse.com>
|
|
Date: Thu, 11 Aug 2016 16:28:39 -0400
|
|
Subject: [PATCH] configure: Fix detection of seccomp on s390x
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Mark Post <mpost@suse.com>
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
---
|
|
configure | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 3308560f78..cb7589a8e7 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -1961,6 +1961,9 @@ if test "$seccomp" != "no" ; then
|
|
ppc|ppc64)
|
|
libseccomp_minver="2.3.0"
|
|
;;
|
|
+ s390|s390x)
|
|
+ libseccomp_minver="2.2.0"
|
|
+ ;;
|
|
*)
|
|
libseccomp_minver=""
|
|
;;
|