summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-03-10 14:50:11 +0100
committerAaron Marcher <info@nulltime.net>2016-03-10 14:50:11 +0100
commite046ee18f92569ca67b323757421c5e9b6637d0d (patch)
tree7b91494ab0c79c3d889d09f968e868472806c0d7 /config.mk
parent83e84bebb6accdf0971bfa09a519d8cee37b0237 (diff)
parent50219004d6a631b156be04e4ce4b235622a6db93 (diff)
Merge pull request #6 from sahne/master
minor cleanups and sanity checks
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}