add -D_GNU_SOURCE for main makeline

This commit is contained in:
Yuichi Nishiwaki 2014-01-19 00:33:45 -08:00
parent ec00ec0257
commit 69c1c8a916
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ debug: build
build: build-lib build-main
build-main:
$(CC) $(CFLAGS) tools/main.c src/*.c -o bin/picrin -I./include -I./extlib -L./lib -lreadline -lm -lxfile
$(CC) $(CFLAGS) -D_GNU_SOURCE tools/main.c src/*.c -o bin/picrin -I./include -I./extlib -L./lib -lreadline -lm -lxfile
build-lib:
cd src; \