DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
$(DEBUGFLAGS)
-OPTFLAGS= -O2 -fno-omit-frame-pointer -g
+OPTFLAGS= -O2 -fno-omit-frame-pointer -g $(EXTFLAGS)
CFLAGS = -std=gnu99 -Wwrite-strings -Wall $(OPTFLAGS) -rdynamic
LIBS = -lpthread -lm -ldl
PROGS = fio
SOURCE = gettime.c fio.c ioengines.c init.c stat.c log.c time.c filesetup.c \
eta.c verify.c memory.c io_u.c parse.c mutex.c options.c rbtree.c \
smalloc.c filehash.c helpers.c profile.c debug.c lib/rand.c \
- lib/flist_sort.c lib/num2str.c $(wildcard crc/*.c) engines/cpu.c \
+ lib/num2str.c $(wildcard crc/*.c) engines/cpu.c \
engines/mmap.c engines/posixaio.c engines/sync.c engines/null.c \
engines/net.c