summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2012-05-04 17:44:27 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2012-05-04 17:44:27 +0200
commit3bf492d2e9e9e2a410c5e67d46654723714323e8 (patch)
tree9172b5f1e56f7aa9911f3f62d1168439a6147f0d /Makefile
parent601779351c0bc303be8b16baba18893ffd46b04a (diff)
downloadcwm-3bf492d2e9e9e2a410c5e67d46654723714323e8.tar.gz
cwm-3bf492d2e9e9e2a410c5e67d46654723714323e8.tar.xz
cwm-3bf492d2e9e9e2a410c5e67d46654723714323e8.zip
compile with -D_GNU_SOURCE to get all relevant prototypes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3aeae02..58a27f4 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ OBJS=		calmwm.o screen.o xmalloc.o client.o menu.o \
 
 CPPFLAGS+=	`pkg-config --cflags fontconfig x11 xft xinerama xrandr`
 
-CFLAGS=		-Wall -O2 -g
+CFLAGS=		-Wall -O2 -g -D_GNU_SOURCE
 
 LDFLAGS+=	`pkg-config --libs fontconfig x11 xft xinerama xrandr`