Skip to content
Snippets Groups Projects
Commit 2db1c3fc authored by York Sun's avatar York Sun Committed by Tom Rini
Browse files

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: default avatarYork Sun <yorksun@freescale.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 1fd1e2f6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment