lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] kconfig/kbuild: define _POSIX_C_SOURCE
From
Hi,

On Tue, Apr 19, 2011 at 1:03 PM, Arnaud Lacombe <lacombar@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-04-19 19:09    [W:0.040 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site