From: Tom Rini Date: Fri, 17 Mar 2017 15:45:54 -0400 Subject: [U-Boot] [PATCH v2] Pass empty CFLAGS on invocation of libfdt/setup.py In-Reply-To: <1489703035-25076-1-git-send-email-jcmvbkbc@gmail.com> References: <1489703035-25076-1-git-send-email-jcmvbkbc@gmail.com> Message-ID: <20170317194554.GG19897@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 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 > Reviewed-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: