[PATCH [mtd-utils] 1/3] move _GNU_SOURCE to the main makefile
Artem Bityutskiy
dedekind1 at gmail.com
Mon Jul 1 01:57:54 EDT 2013
On Wed, 2013-05-08 at 12:27 -0400, Mike Frysinger wrote:
> A bunch of utils are relying on _GNU_SOURCE already. The new prompt code
> uses getline() which is now part of POSIX, but in older versions of glibc,
> it was behind _GNU_SOURCE as it was a GNU extension.
>
> This change doesn't actually tie us to glibc. Only code that uses GNU
> extensions does that. It just kills warning when using older versions of
> glibc.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Pushed all 3 to mtd-utils.
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list