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 <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-07-12 23:34:10 +02:00 committed by Yann E. MORIN
parent e63d13d19e
commit 8d8b033596

View File

@ -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