Add CONFIG_64BIT_LLP64, CONFIG_POSIX_FALLOCATE and CONFIG_LINUX_FALLOCATE to Makefile.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/Makefile b/Makefile
index 299e5e9..03e46fa 100644
--- a/Makefile
+++ b/Makefile
@@ -31,13 +31,15 @@
json.c lib/zipf.c lib/axmap.c lib/lfsr.c gettime-thread.c \
helpers.c lib/flist_sort.c
+ifdef CONFIG_64BIT_LLP64
+ CFLAGS += -DBITS_PER_LONG=32
+endif
ifdef CONFIG_64BIT
CFLAGS += -DBITS_PER_LONG=64
endif
ifdef CONFIG_32BIT
CFLAGS += -DBITS_PER_LONG=32
endif
-
ifdef CONFIG_LIBAIO
CFLAGS += -DCONFIG_LIBAIO
SOURCE += engines/libaio.c
@@ -128,6 +130,12 @@
ifdef CONFIG_TLS_THREAD
CFLAGS += -DCONFIG_TLS_THREAD
endif
+ifdef CONFIG_POSIX_FALLOCATE
+ CFLAGS += -DCONFIG_POSIX_FALLOCATE
+endif
+ifdef CONFIG_LINUX_FALLOCATE
+ CFLAGS += -DCONFIG_LINUX_FALLOCATE
+endif
ifeq ($(UNAME), Linux)
SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c engines/sg.c \