[tracker-miners] meson: Link to seccomp README for list of supported archs
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] meson: Link to seccomp README for list of supported archs
- Date: Sun, 17 Feb 2019 15:00:35 +0000 (UTC)
commit 87458f6cceed415a359de4e7574fad5c184e3768
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Feb 17 15:59:52 2019 +0100
meson: Link to seccomp README for list of supported archs
See discussion at https://gitlab.gnome.org/GNOME/tracker-miners/merge_requests/51#note_438919
meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 0ba892a7b..4dc9cecf9 100644
--- a/meson.build
+++ b/meson.build
@@ -255,6 +255,9 @@ endif
host_system = host_machine.system()
host_cpu = host_machine.cpu()
+
+# You can find a list of architectures that seccomp supports in the seccomp
+# project README. See: https://github.com/seccomp/libseccomp/
unsupported_cpus = [
'alpha',
'ia64',
@@ -265,6 +268,7 @@ unsupported_cpus = [
'sparc',
'sparc64',
]
+
system_supports_seccomp = host_system == 'linux'
cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
seccomp_required = system_supports_seccomp and cpu_supports_seccomp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]