config.mk: fix compiler warning, just use DEFAULT_SOURCE

warning was:
warning: implicit declaration of function 'strptime'
warning: implicit declaration of function 'setgroups'
This commit is contained in:
Hiltjo Posthuma 2017-06-27 21:33:41 +02:00 committed by Laslo Hunhold
parent bd2e9e66ff
commit 6ec37625f8

View file

@ -8,7 +8,7 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/man
# flags
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Os
LDFLAGS = -s