[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTi=vdpzxbu_r1cnRHJTR+_J3FHwafQ@mail.gmail.com>
Date: Tue, 19 Apr 2011 13:07:24 -0400
From: Arnaud Lacombe <lacombar@...il.com>
To: Michal Marek <mmarek@...e.cz>
Cc: Valentin Ochs <a@....de>, Roman Zippel <zippel@...ux-m68k.org>,
trivial@...nel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kconfig/kbuild: define _POSIX_C_SOURCE
Hi,
On Tue, Apr 19, 2011 at 1:03 PM, Arnaud Lacombe <lacombar@...il.com> wrote:
> diff --git a/Makefile b/Makefile
> index d6592b6..0490413 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -233,7 +233,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then
> echo $$BASH; \
>
> HOSTCC = gcc
> HOSTCXX = g++
> -HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> -fomit-frame-pointer
> +HOSTCFLAGS = -D_POSIX_C_SOURCE=200112L -Wall -Wmissing-prototypes
> -Wstrict-prototypes -O2 -fomit-frame-pointer
> HOSTCXXFLAGS = -O2
>
Sorry, gmail wrapped long lines, the relevant part is only:
HOSTCFLAGS+= -D_POSIX_C_SOURCE=200112L
- Arnaud
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists