[Buildroot] [PATCH] libtomcrypt: fix build without wchar

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Oct 22 12:37:08 UTC 2017


Hello,

On Tue, 17 Oct 2017 15:12:55 +0300, Baruch Siach wrote:
> GCC defines wchar_t even when wchar support is disabled in uClibc. The
> LTC_NO_WCHAR macro triggers a local definition of wchar_t that conflicts
> with the GCC defined one. Remove LTC_NO_WCHAR to avoid that.
> 
> Fixes:
> http://autobuild.buildroot.net/results/895/895452ac973cab0e0bc22636d39cbec7fbf598d3/
> http://autobuild.buildroot.net/results/c82/c82d0173878e58f7192d3cec271b45763e6ea269/
> http://autobuild.buildroot.net/results/83f/83f433bcb608b341fca2180afa57fc81495bc3b4/
> 
> Cc: Francois Perrad <francois.perrad at gadz.org>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  package/libtomcrypt/libtomcrypt.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied to master after updating the autobuilder reference to a result
that we still have in the database, and adding a reference to the
interesting Github discussion.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list