forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnome-desktop: Make seccomp dependency optional for rv32
rv32 support in libseccomp is not yet upstream, therefore add rv32 to seccomp unsupported architectures Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...nome/gnome-desktop/gnome-desktop/0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 6937685426aff8059b68b2941a0fe549eca21ce5 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Fri, 3 Mar 2023 23:04:56 -0800 | ||
Subject: [PATCH] meson: Add riscv32 to seccomp unsupported list | ||
|
||
rv32 needs to upstream the libseccomp support | ||
|
||
Upstream-Status: Pending | ||
Signed-off-by: Khem Raj <[email protected]> | ||
--- | ||
meson.build | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 6a888b8..a87c419 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -65,7 +65,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', 'sh4', 'sparc', 'sparc64'] | ||
+unsupported_cpus = ['alpha', 'ia64', 'm68k', 'riscv32', 'sh4', 'sparc', 'sparc64'] | ||
if supported_os.contains(host_os) and not unsupported_cpus.contains(host_cpu) | ||
seccomp_dep = dependency('libseccomp') | ||
else | ||
-- | ||
2.39.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters