[Buildroot] [PATCH v2, 1/1] package/libstrophe: disable examples
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jul 17 13:28:12 UTC 2022
Fabrice, All,
On 2022-07-12 23:34 +0200, Fabrice Fontaine spake thusly:
> 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 at gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - Drop patch and autoreconf as patch is already in version 0.12.1
>
> 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
> --
> 2.35.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list