Compile with _GNU_SOURCE

This commit is contained in:
Kamil Trzcinski
2022-07-08 09:41:43 +02:00
parent bb4bbdc6ea
commit ab7e87d5ef
5 changed files with 5 additions and 6 deletions

View File

@ -3,7 +3,7 @@ SRC := $(wildcard **/*.c **/*/*.c **/*.cc **/*/*.cc)
HEADERS := $(wildcard **/*.h **/*/*.h **/*.hh **/*/*.hh)
HTML := $(wildcard html/*.js html/*.html)
CFLAGS := -Werror -Wall -g -I$(CURDIR)
CFLAGS := -Werror -Wall -g -I$(CURDIR) -D_GNU_SOURCE
LDLIBS := -lpthread -lstdc++
ifneq (x,x$(shell which ccache))