commit e8a7f8c4131d39eaff0ebb186f6ee01a08db3e59
parent 080088cdab3baa53275cc371c0d6270ada36cc3b
Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 27 Jul 2015 17:28:12 +0200
My default, _GNU_SOURCE is needed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -13,7 +13,7 @@ INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_GNU_SOURCE
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
LDFLAGS = -static -g ${LIBS}
#LDFLAGS = -s ${LIBS}