From cc10e4958a11bc1b0983a96d9145eb2e3be78b2b Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Thu, 18 Sep 2014 13:26:09 +0300 Subject: glibc 2.20 wants _DEFAULT_SOURCE instead of _BSD_SOURCE --- mdk-stage1/NEWS | 2 ++ mdk-stage1/pcmcia/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index f994ca6e7..804cddad5 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,5 @@ +- glibc 2.20 wants _DEFAULT_SOURCE instead of _BSD_SOURCE + 2.8 - recognize new kernel-3.17 drivers diff --git a/mdk-stage1/pcmcia/Makefile b/mdk-stage1/pcmcia/Makefile index 909f34926..6b8bf0cb8 100644 --- a/mdk-stage1/pcmcia/Makefile +++ b/mdk-stage1/pcmcia/Makefile @@ -27,7 +27,7 @@ all: $(TARGET) pcmcia_probe.o clean: rm -f *.o $(TARGET) lex_config.c yacc_config.c yacc_config.h -FLAGS = -D__linux__ -Wall -Werror -Wno-deprecated-declarations -Os -fomit-frame-pointer -pipe -c -I.. -D_BSD_SOURCE +FLAGS = -D__linux__ -Wall -Werror -Wno-deprecated-declarations -Os -fomit-frame-pointer -pipe -c -I.. -D_DEFAULT_SOURCE # (blino) make sure yynewerror and yyerrlab are uselessly used FLAGS += -Dlint LFLAGS += --nounput -- cgit v1.2.1