X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.inc;h=ae2fa3fcaf855d7413cb216326c84f885a76e745;hb=08c133e16a05b1e0f2ab34d34d130e209ff42261;hp=ff5b5ffcd01af9e714ee1d66bbce4d5587cda1c6;hpb=f4b844fbacc71a67bf29f1a898aeeeaf8b731317;p=libc-test diff --git a/Makefile.inc b/Makefile.inc index ff5b5ff..ae2fa3f 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -14,15 +14,16 @@ usemusl = yes prefix = /usr/local/musl includedir = $(prefix)/include libdir = $(prefix)/lib --include $(ROOTDIR)/Makefile.conf AR=ar RANLIB=ranlib -CFLAGS += -g -std=c99 -pipe -Wall -LDFLAGS += -g -lpthread +CFLAGS += -g -D_POSIX_C_SOURCE=200809L -std=c99 -pipe -Wall +LDFLAGS += -g -lpthread -lrt -lm INC += -I$(ROOTDIR)/common +-include $(ROOTDIR)/Makefile.conf + ifeq ($(usemusl), yes) CC=gcc LIBCC=$(shell gcc -print-file-name=libgcc.a |sed 's,/libgcc.a,,')