From 8d8b03359672e195dae31b49c07623ece7308dbe Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 12 Jul 2022 23:34:10 +0200 Subject: [PATCH] package/libstrophe: disable examples Disable examples to avoid the following build failure on sparc: examples/perf.c: In function 'rdtsc': examples/perf.c:110:5: warning: 'x' is used uninitialized in this function [-Wuninitialized] 110 | __asm__ __volatile__("rd %%tick, %0; clruw %0, %1; srlx %0, 32, %0" | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/5881246c4e9f7560181d2e60185d3bb5cf4f5a5f Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libstrophe/libstrophe.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk index ce99c9fe48..7a349a19d4 100644 --- a/package/libstrophe/libstrophe.mk +++ b/package/libstrophe/libstrophe.mk @@ -11,6 +11,7 @@ LIBSTROPHE_DEPENDENCIES = host-pkgconf LIBSTROPHE_LICENSE = MIT or GPL-3.0 LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt LIBSTROPHE_INSTALL_STAGING = YES +LIBSTROPHE_CONF_OPTS = --disable-examples ifeq ($(BR2_PACKAGE_EXPAT),y) LIBSTROPHE_CONF_OPTS += --without-libxml2