Messages in this thread | | | Date | Tue, 19 Apr 2011 13:07:24 -0400 | Subject | Re: [PATCH v2] kconfig/kbuild: define _POSIX_C_SOURCE | From | Arnaud Lacombe <> |
| |
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/
| |