X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.inc;h=05d868936e38d05c1e79bf24078f724f5c0fd1da;hb=80371a77c4d6978e786ab2322161c4f8e299e891;hp=f0ebc00a1a5c0832dbd6f7d34fca09f95158d71c;hpb=1b83d1e7175007b2e44d440eaa7ebaa6f2fe5546;p=libc-test diff --git a/Makefile.inc b/Makefile.inc index f0ebc00..05d8689 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -9,10 +9,10 @@ OBJS = $(SRCS:.c=.o) AR=ar RANLIB=ranlib -CFLAGS += -g -D_POSIX_C_SOURCE=200809L -std=c99 -pipe -Wall -Wno-unused-function +CFLAGS += -g -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -std=c99 -pipe -Wall -Wno-unused-function -Wno-missing-braces LDFLAGS += -g -lpthread -lrt -lm --include $(TROOT)/config.mak +include $(TROOT)/config.mak CFLAGS += -I$(TROOT)/common @@ -27,7 +27,7 @@ clean: .c.o: $(CC) $(CFLAGS) -c -o $@ $< -$(OBJS): $(TROOT)/common/test.h +$(OBJS): $(TROOT)/common/test.h $(TROOT)/config.mak tests.h: $(OBJS) nm -f posix $+ |awk ' \