Switch to _DEFAULT_SOURCE, _BSD_SOURCE is deprecated

This commit is contained in:
Nikos Tsipinakis 2016-11-17 19:50:00 +02:00
parent 9db667be45
commit 9dd4768a1f

View File

@ -22,7 +22,7 @@ ifeq (${PKG_CONFIG}, ${EMPTY})
endif endif
# flags # flags
CPPFLAGS += -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${INIFLAGS} CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${INIFLAGS}
CFLAGS += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${EXTRACFLAGS} CFLAGS += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${EXTRACFLAGS}
pkg_config_packs := dbus-1 x11 freetype2 xext xft xscrnsaver \ pkg_config_packs := dbus-1 x11 freetype2 xext xft xscrnsaver \