[U-Boot] [U-Boot, v2] Pass empty CFLAGS on invocation of libfdt/setup.py
Tom Rini
trini at konsulko.com
Tue Mar 21 18:09:24 UTC 2017
On Thu, Mar 16, 2017 at 03:23:55PM -0700, Max Filippov wrote:
> When building u-boot tools in cross-build environment CFLAGS environment
> variable set up for target is taken into an account when building code
> for host. Make it empty on invocation of python.
>
> This fixes the following build errors when cross-compiling for xtensa:
>
> cc1: error: unrecognized command line option "-mlongcalls"
> cc1: error: unrecognized command line option "-mauto-litpools"
>
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170321/00dfbe6f/attachment.sig>
More information about the U-Boot
mailing list