Re: [PATCH] Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning

From: Michal Marek
Date: Mon Nov 28 2016 - 05:40:10 EST


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
> ^
> <command-line>: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