[U-Boot] Fix sandbox build on Ubuntu 10.04

Tom Rini trini at konsulko.com
Wed Nov 18 23:36:06 CET 2015


On Sat, Nov 14, 2015 at 11:53:49PM -0700, Stephen Warren wrote:

> gcc 4.4.3 (which is the default native compiler on x86-64 Ubuntu 10.04)
> doesn't seem to like initializers for sub-fields of anonymous unions.
> Solve this by replacing the initialization with an assignment. This
> fixes:
> 
> lib/lz4_wrapper.c: In function ‘ulz4fn’:
> lib/lz4_wrapper.c:97: error: unknown field ‘raw’ specified in initializer
> 
> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151118/03f96ea8/attachment.sig>


More information about the U-Boot mailing list