--- Makefile.orig	2015-03-26 00:34:30 UTC
+++ Makefile
@@ -16,7 +16,7 @@ OBJS=		calmwm.o screen.o xmalloc.o clien
 
 CPPFLAGS+=	`pkg-config --cflags fontconfig x11 xft xinerama xrandr`
 
-CFLAGS?=	-Wall -O2 -g -D_GNU_SOURCE
+CFLAGS?=	-Wall -g -pthread
 
 LDFLAGS+=	`pkg-config --libs fontconfig x11 xft xinerama xrandr`
 
