From f6046bc92c2e86f3cfa4bcb42091b4407aa31a09 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Tue, 10 Aug 2021 15:19:25 +0800 Subject: [PATCH] gnutls: Enable seccomp if FEATURE is set Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie (cherry picked from commit f2527b5567252c7da4fbd863e119c8114e6debcd) Signed-off-by: Mingli Yu Signed-off-by: Anuj Mittal --- meta/recipes-support/gnutls/gnutls_3.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/gnutls_3.7.1.bb b/meta/recipes-support/gnutls/gnutls_3.7.1.bb index 51d472c8285..3e1958c9695 100644 --- a/meta/recipes-support/gnutls/gnutls_3.7.1.bb +++ b/meta/recipes-support/gnutls/gnutls_3.7.1.bb @@ -27,7 +27,7 @@ SRC_URI[sha256sum] = "3777d7963eca5e06eb315686163b7b3f5045e2baac5e54e038ace9835e inherit autotools texinfo pkgconfig gettext lib_package gtk-doc -PACKAGECONFIG ??= "libidn" +PACKAGECONFIG ??= "libidn ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}" # You must also have CONFIG_SECCOMP enabled in the kernel for # seccomp to work. -- 2.47.2