瀏覽代碼

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>
Fabrice Fontaine 3 年之前
父節點
當前提交
8d8b033596
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/libstrophe/libstrophe.mk

+ 1 - 0
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