summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Rameau2015-12-19 20:04:19 +0100
committerHiltjo Posthuma2015-12-19 20:20:26 +0100
commite40818b412324447a8c676d210e18b506c915428 (patch)
tree489fa3adac7c3ac064e38364a88cd2b6a00813bb
parent43f5bf43317ed0201ce072ef20094ff7154ac23e (diff)
downloadaur-e40818b412324447a8c676d210e18b506c915428.tar.gz
Shut up glibc about _BSD_SOURCE being deprecated
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 4eefb7185fa..80dc9364fa1 100644
--- a/config.mk
+++ b/config.mk
@@ -25,7 +25,7 @@ INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}