summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDaniel Walter <d.walter@0x90.at>2016-03-10 11:49:48 +0100
committerDaniel Walter <d.walter@0x90.at>2016-03-10 11:49:48 +0100
commit046e273a7eb270f4b275c02546e4547d8cfc2a82 (patch)
treeb11960c9f34ca17b8c611f7a7174e487cadded03 /config.mk
parent83e84bebb6accdf0971bfa09a519d8cee37b0237 (diff)
simplify smprintf by using vasprintf
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 75ba482..4888003 100644
--- a/config.mk
+++ b/config.mk
@@ -15,7 +15,7 @@ INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}