[U-Boot] [PATCH 2/3] common: env_flags: include common.h even for HOST_CC

Tom Rini trini at konsulko.com
Mon Feb 15 23:34:32 CET 2016


On Wed, Feb 03, 2016 at 12:42:51PM +0000, Peter Robinson wrote:

> When compiling with gcc 6 we get the following error due to ARRAY_SIZE being
> defined elsewhere.
> 
> common/env_flags.c:155: undefined reference to `ARRAY_SIZE'
> 
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>

I'm going to take http://patchwork.ozlabs.org/patch/582527/ to fix this
instead as I don't want to say that common.h must work in the case of
USE_HOSTCC==true (I'm surprised it did, in fact).  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/20160215/86a2b068/attachment.sig>


More information about the U-Boot mailing list