X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=847323822332abb366eeeaeca03064ac9c85ea01;hb=79f9ec8f0a402b23b0ebf574f5e6b0ac4b8cd2fd;hp=bffa7583cc0a83d78b2dd3930587b23c639c15f5;hpb=122d4b1cf4989337cc4006bdce8e61ec04b166fd;p=fio.git diff --git a/Makefile b/Makefile index bffa7583..84732382 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -ifeq ($(CC),) +ifneq ($(origin CC), environment) CC = gcc endif DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ $(DEBUGFLAGS) -OPTFLAGS= -O3 -fno-omit-frame-pointer -g $(EXTFLAGS) +OPTFLAGS= -O3 -g $(EXTFLAGS) CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) LIBS = -lm $(EXTLIBS) PROGS = fio @@ -79,7 +79,7 @@ T_IEEE_OBJS += lib/ieee754.o T_IEEE_PROGS = t/ieee754 T_ZIPF_OBS = t/genzipf.o -T_ZIPF_OBJS += rbtree.o t/log.o lib/ieee754.o lib/rand.o lib/zipf.o t/genzipf.o +T_ZIPF_OBJS += t/log.o lib/ieee754.o lib/rand.o lib/zipf.o t/genzipf.o T_ZIPF_PROGS = t/genzipf T_OBJS = $(T_SMALLOC_OBJS)