Switch to _DEFAULT_SOURCE, _BSD_SOURCE is deprecated
This commit is contained in:
parent
9db667be45
commit
9dd4768a1f
@ -22,7 +22,7 @@ ifeq (${PKG_CONFIG}, ${EMPTY})
|
||||
endif
|
||||
|
||||
# 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}
|
||||
|
||||
pkg_config_packs := dbus-1 x11 freetype2 xext xft xscrnsaver \
|
||||
|
Loading…
x
Reference in New Issue
Block a user