aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-12-19 20:04:19 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-19 20:20:26 +0100
commit4ec3a673ff81275a9157d6801ea4a2b17031e5ba (patch)
tree958767bd577ef624308000d7b3c57b2194394ebe
parent5ed9c481968a45f5032f1011d92ab8d5237aeba1 (diff)
downloaddwm-4ec3a673ff81275a9157d6801ea4a2b17031e5ba.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 4eefb71..80dc936 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}
remember that computers suck.