Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934324AbbKSOOZ (ORCPT ); Thu, 19 Nov 2015 09:14:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48609 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934288AbbKSOOJ (ORCPT ); Thu, 19 Nov 2015 09:14:09 -0500 Date: Thu, 19 Nov 2015 15:14:06 +0100 From: Jiri Olsa To: Wang Nan Cc: acme@kernel.org, jolsa@kernel.org, lizefan@huawei.com, pi3orama@163.com, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo Subject: Re: [PATCH] tools build: Clean CFLAGS and LDFLAGS for fixdep Message-ID: <20151119141406.GA27280@krava.brq.redhat.com> References: <1447919161-98539-1-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447919161-98539-1-git-send-email-wangnan0@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 26 On Thu, Nov 19, 2015 at 07:46:01AM +0000, Wang Nan wrote: SNIP > > This is because CFLAGS in perf building pollutes CFLAGS used for fixdep, > passes -fstack-protector-all to fixdep builder which is obviously not > required. Since fixdep is a small host side tool, we should keep its > CFLAGS/LDFLAGS simple anc clean. > > This patch clear CFLAGS and LDFLAGS passed to fixdep building, so such > gcc problem won't block perf building. > > Signed-off-by: Wang Nan > Cc: Arnaldo Carvalho de Melo > Cc: Jiri Olsa Acked-by: Jiri Olsa thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/