From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 18 Aug 2013 17:49:49 -0400 Subject: [U-Boot] tools/Makefile: Move _GNU_SOURCE to Makefile In-Reply-To: <1375223171-23596-1-git-send-email-yorksun@freescale.com> References: <1375223171-23596-1-git-send-email-yorksun@freescale.com> Message-ID: <20130818214949.GA13632@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 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 > Acked-by: Simon Glass 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: