From: Tom Rini Date: Wed, 18 Nov 2015 17:36:06 -0500 Subject: [U-Boot] Fix sandbox build on Ubuntu 10.04 In-Reply-To: <1447570429-1430-1-git-send-email-swarren@wwwdotorg.org> References: <1447570429-1430-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20151118223606.GH8060@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini > Acked-by: Simon Glass 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: