add -D_GNU_SOURCE for main makeline
This commit is contained in:
parent
ec00ec0257
commit
69c1c8a916
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ debug: build
|
||||||
build: build-lib build-main
|
build: build-lib build-main
|
||||||
|
|
||||||
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:
|
build-lib:
|
||||||
cd src; \
|
cd src; \
|
||||||
|
|
Loading…
Reference in New Issue