aboutsummaryrefslogtreecommitdiff
path: root/.repos/dwm/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '.repos/dwm/config.mk')
-rw-r--r--.repos/dwm/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/.repos/dwm/config.mk b/.repos/dwm/config.mk
index 6d36cb7..b77641d 100644
--- a/.repos/dwm/config.mk
+++ b/.repos/dwm/config.mk
@@ -22,10 +22,10 @@ FREETYPEINC = /usr/include/freetype2
# includes and libs
INCS = -I${X11INC} -I${FREETYPEINC}
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-res
# flags
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}