Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932676AbcK1KkH (ORCPT ); Mon, 28 Nov 2016 05:40:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:38648 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754403AbcK1KjE (ORCPT ); Mon, 28 Nov 2016 05:39:04 -0500 Subject: Re: [PATCH] Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning To: Cheah Kok Cheong References: <1480264106-29881-1-git-send-email-thrust73@gmail.com> Cc: yann.morin.1998@free.fr, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org From: Michal Marek Message-ID: <5d8cb4b1-fe87-5daf-432b-d6612196a9fc@suse.cz> Date: Mon, 28 Nov 2016 11:39:01 +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: <1480264106-29881-1-git-send-email-thrust73@gmail.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 426 Lines: 14 Dne 27.11.2016 v 17:28 Cheah Kok Cheong napsal(a): > Fix below warning when make nconfig is run initially > or after make clean. > > HOSTCC scripts/kconfig/nconf.o > scripts/kconfig/nconf.c:8:0: warning: "_GNU_SOURCE" redefined > #define _GNU_SOURCE > ^ > :0:0: note: this is the location of the previous definition The Makefile does not specify -D_GNU_SOURCE. Are you adding it manually? Thanks, Michal