X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=358977054dbe18b21173e0cc9d85ad15bf4c417b;hb=355934b7ed82d13a5bfc043e2243013fd1e4e5bd;hp=f59f809616e73b73a1d132f9e2fc318ab5b75347;hpb=8e600258bad065fbdfd6a1b2856077d12cd521e5;p=fio.git diff --git a/Makefile b/Makefile index f59f8096..35897705 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -CC ?= gcc +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) @@ -77,8 +79,8 @@ 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_PROGS = t/genzip +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) T_OBJS += $(T_IEEE_OBJS)