Re: [U-Boot] [PATCH v2] Pass empty CFLAGS on invocation of libfdt/setup.py

2017-03-17 Thread Tom Rini
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 e

[U-Boot] [PATCH v2] Pass empty CFLAGS on invocation of libfdt/setup.py

2017-03-16 Thread Max Filippov
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 comman