19f5d78b9a
Fix endianness issues in DictZip block driver (bsc#937572, bsc#945778) OBS-URL: https://build.opensuse.org/request/show/337299 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=273
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
From 1c97919295ef36ddaaca131cc412aafe9a078151 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
|
|
Date: Tue, 14 Apr 2015 18:42:06 +0200
|
|
Subject: [PATCH] Revert "Revert seccomp tests that allow it to be used on
|
|
non-x86 architectures"
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This reverts commit ae6e8ef11e6cb43ec83a5846e8f3b266834cf280.
|
|
|
|
Our Factory libseccomp is patched to support ppc, ppc64, armv7l and soon
|
|
ppc64le.
|
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
---
|
|
configure | 9 +++++++--
|
|
1 file changed, 7 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 6ab01bc..b1ed2a2 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -1827,14 +1827,19 @@ fi
|
|
# libseccomp check
|
|
|
|
if test "$seccomp" != "no" ; then
|
|
- if test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
|
|
- $pkg_config --atleast-version=2.1.1 libseccomp; then
|
|
+ if $pkg_config --atleast-version=2.2.0 libseccomp ||
|
|
+ (test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
|
|
+ $pkg_config --atleast-version=2.1.1 libseccomp); then
|
|
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
|
|
QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
|
|
seccomp="yes"
|
|
else
|
|
if test "$seccomp" = "yes"; then
|
|
+ if test "$cpu" = "i386" || test "$cpu" = "x86_64"; then
|
|
feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1"
|
|
+ else
|
|
+ feature_not_found "libseccomp" "Install libseccomp devel >= 2.2.0"
|
|
+ fi
|
|
fi
|
|
seccomp="no"
|
|
fi
|