add -D_DEFAULT_SOURCE to placate gcc

This commit is contained in:
Evan Gates 2014-11-13 13:42:09 -08:00 committed by sin
parent ee55fbe9e9
commit 0810c61154

View File

@ -8,7 +8,7 @@ MANPREFIX = $(PREFIX)/share/man
#CC = gcc
#CC = musl-gcc
LD = $(CC)
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS)
LDFLAGS = -g