8d8b033596
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>
33 lines
1011 B
Makefile
33 lines
1011 B
Makefile
################################################################################
|
|
#
|
|
# libstrophe
|
|
#
|
|
################################################################################
|
|
|
|
LIBSTROPHE_VERSION = 0.12.1
|
|
LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
|
|
LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
|
|
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
|
|
LIBSTROPHE_DEPENDENCIES += expat
|
|
else
|
|
LIBSTROPHE_CONF_OPTS += --with-libxml2
|
|
LIBSTROPHE_DEPENDENCIES += libxml2
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBSTROPHE_CONF_OPTS += --with-tls --without-gnutls
|
|
LIBSTROPHE_DEPENDENCIES += openssl
|
|
else
|
|
LIBSTROPHE_CONF_OPTS += --with-gnutls --without-tls
|
|
LIBSTROPHE_DEPENDENCIES += gnutls
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|