Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934737AbcKKRI3 (ORCPT ); Fri, 11 Nov 2016 12:08:29 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:36191 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933443AbcKKRI1 (ORCPT ); Fri, 11 Nov 2016 12:08:27 -0500 Subject: Re: Kbuild: CC= handling broken for tools/ To: Josh Poimboeuf , Jiri Olsa References: <2ef7ef23-5b11-a2cf-6205-4313aedddea8@suse.cz> <20161111140047.GA13610@krava> <20161111151427.GA27779@krava> <20161111153040.o6guxey27qkfzlxs@treble> Cc: Michal Marek , linux-kbuild@vger.kernel.org, Linux kernel mailing list From: Jiri Slaby Message-ID: Date: Fri, 11 Nov 2016 18:08:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161111153040.o6guxey27qkfzlxs@treble> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 345 Lines: 14 On 11/11/2016, 04:30 PM, Josh Poimboeuf wrote: > Does it work if you use KCFLAGS instead of EXTRA_CFLAGS? Yes, the kernel builds with the flags now. But objtool is unexpectedly still built by a different compiler. I would also prefer the flags (like the warning above) to be passed even when building host commands. thanks, -- js suse labs