commit | 9696eaaf928c6cb8dc4e62982b97cb371d51855f | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Tue Jul 30 15:26:11 2013 -0700 |
committer | Tom Rini <trini@ti.com> | Fri Aug 16 13:45:15 2013 -0400 |
tree | 2587036449c61a57ba632930dbb9bf632fcf05ea | |
parent | 749a6e76f4a184277c05adcfc4f916b6517a4ddc [diff] |
tools/Makefile: Move _GNU_SOURCE to Makefile 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@freescale.com> Acked-by: Simon Glass <sjg@chromium.org>