[U-Boot] tools/Makefile: Move _GNU_SOURCE to Makefile

Tom Rini trini at ti.com
Sun Aug 18 23:49:49 CEST 2013


On Tue, Jul 30, 2013 at 03:26:11PM -0700, York Sun wrote:

> Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h
> to be included before _GNU_SOURCE is defined in C files. On some old hosts
> some prototypes are protected by #ifdef __USE_GNU, which is set when
> _GNU_SOURCE is defined.
> 
> Signed-off-by: York Sun <yorksun at freescale.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: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130818/fa5d73e0/attachment.pgp>


More information about the U-Boot mailing list