blob: 4b3894f05589f3c84f7ac1831858db4fcbc7f442 [file] [log] [blame]
From de0d33b068a5d8e61cc0c82d88d15b9a8aa97977 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sat, 6 Apr 2019 18:07:17 +0200
Subject: [PATCH] meson.build: Disable libseccomp for all archs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
It does not seem mandatory and can cause unsatisfied dependency [1].
[1] https://errors.yoctoproject.org/Errors/Details/235565/
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
---
meson.build | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/meson.build b/meson.build
index 2e7160d..f83677d 100644
--- a/meson.build
+++ b/meson.build
@@ -58,12 +58,7 @@ udev_dep = dependency('libudev', required: get_option('udev'))
host_os = host_machine.system()
host_cpu = host_machine.cpu()
supported_os = ['linux']
-unsupported_cpus = ['alpha', 'ia64', 'm68k', 'riscv64', 'sh4', 'sparc', 'sparc64']
-if supported_os.contains(host_os) and not unsupported_cpus.contains(host_cpu)
- seccomp_dep = dependency('libseccomp')
-else
- seccomp_dep = dependency('', required: false)
-endif
+seccomp_dep = dependency('', required: false)
fontconfig_cache_path = fontconfig_dep.get_pkgconfig_variable('cachedir')
xkb_base = xkb_config_dep.get_pkgconfig_variable('xkb_base')
--
2.20.1