Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 2B70271C9A for ; Wed, 25 Jan 2017 23:03:51 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v0PN3psR004469 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 25 Jan 2017 15:03:51 -0800 (PST) Received: from ala-jslater-lx3.wrs.com (147.11.152.42) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.294.0; Wed, 25 Jan 2017 15:03:50 -0800 From: Joe Slater To: Date: Wed, 25 Jan 2017 15:03:50 -0800 Message-ID: <1485385430-30552-1-git-send-email-jslater@windriver.com> X-Mailer: git-send-email 1.7.3.4 MIME-Version: 1.0 Subject: [PATCH v3 1/1] gnutls: avoid accidentally using libseccomp X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 23:03:53 -0000 Content-Type: text/plain Specify whether to use libseccomp or not. Do not just let configure check for it. Signed-off-by: Joe Slater --- meta/recipes-support/gnutls/gnutls.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index 003dc55..1ecad1f 100644 --- a/meta/recipes-support/gnutls/gnutls.inc +++ b/meta/recipes-support/gnutls/gnutls.inc @@ -23,6 +23,11 @@ inherit autotools texinfo binconfig pkgconfig gettext lib_package gtk-doc PACKAGECONFIG ??= "libidn zlib" +# You must also have CONFIG_SECCOMP enabled in the kernel for +# seccomp to work. +# +PACKAGECONFIG[seccomp] = "ac_cv_libseccomp=yes,ac_cv_libseccomp=no,libseccomp" + PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn" PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1" PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit" -- 1.7.9.5