[Buildroot] [PATCH next] package/gnutls: disable tests

Baruch Siach baruch at tkos.co.il
Thu Jun 3 16:10:42 UTC 2021


Tests can't build with NDEBUG is defined. Since commit 5a8c50fe05afa
("core: enable 'NDEBUG' unless BR2_ENABLE_RUNTIME_DEBUG is set") NDEBUG
is defined on !BR2_ENABLE_RUNTIME_DEBUG. Just disable tests.

Fixes:
http://autobuild.buildroot.net/results/9ec31793484a69c14a66b7338d795089c07b9937/
http://autobuild.buildroot.net/results/6ef8f1534237f2df4cff0a0bc0364fe9a46a5343/
http://autobuild.buildroot.net/results/05ff156687138627f244ca3f6cb58f1ce7d127c4/

Cc: Matt Weber <matthew.weber at collins.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/gnutls/gnutls.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 14855bcebc8f..6fc9ffad0b3f 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -23,6 +23,7 @@ GNUTLS_CONF_OPTS = \
 	--disable-guile \
 	--disable-libdane \
 	--disable-rpath \
+	--disable-tests \
 	--enable-local-libopts \
 	--enable-openssl-compatibility \
 	--with-librt-prefix=$(STAGING_DIR) \
-- 
2.30.2



More information about the buildroot mailing list