summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-09-17 20:23:20 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-09-17 20:23:20 -0700
commit7d4f82900cc324f42c8caaa51ce799d845eb190a (patch)
treef8c4f5d4374712cd1d29aa7a5f909f0cf4633668 /Makefile
parent68862e5666f38f0e9d5d1e82433196658d2233a3 (diff)
Move _GNU_SOURCE definition to makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 349ffc2..ce24825 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION=0.1beta
-CPPFLAGS=-DVERSION=\"${VERSION}\"
+CPPFLAGS=-DVERSION=\"${VERSION}\" -D_GNU_SOURCE
CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic
PREFIX?=/usr/local
MANDIR?=$(PREFIX)/share/man