SHA256
1
0
forked from pool/qemu
qemu/0037-configure-Fix-detection-of-seccomp-.patch
Andreas Färber e7003b4a4b Accepting request 429462 from home:a_faerber:branches:Virtualization
Explicitly set two new options and drop ppc libatomic patch that was not accepted upstream and did not resolve all failures

OBS-URL: https://build.opensuse.org/request/show/429462
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=314
2016-09-22 14:28:43 +00:00

29 lines
771 B
Diff

From 0b135a5863998d3936302e291e69a0b13596fc6f 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 b882d19..1954f62 100755
--- a/configure
+++ b/configure
@@ -1902,6 +1902,9 @@ if test "$seccomp" != "no" ; then
ppc|ppc64)
libseccomp_minver="2.3.0"
;;
+ s390|s390x)
+ libseccomp_minver="2.2.0"
+ ;;
*)
libseccomp_minver=""
;;