summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-03 21:09:52 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-03-03 23:17:31 -0900
commit171ee48e57be78f4e95954c99851553fa523bf91 (patch)
tree5a54443f074f8f7922eda1451743bb9d2f60368e /Makefile
parenta5b5eba7f788bb77cf57f9c94f3474a2d439ab0b (diff)
Delete more unused shim code, update bcache code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc0402c3..2defed04 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,12 @@ CFLAGS+=-std=gnu99 -O2 -g -MMD -Wall \
-D_GNU_SOURCE \
-D_LGPL_SOURCE \
-DRCU_MEMBARRIER \
+ -DNO_BCACHE_ACCOUNTING \
+ -DNO_BCACHE_BLOCKDEV \
+ -DNO_BCACHE_CHARDEV \
+ -DNO_BCACHE_FS \
+ -DNO_BCACHE_NOTIFY \
+ -DNO_BCACHE_WRITEBACK \
$(EXTRA_CFLAGS)
LDFLAGS+=-O2 -g
@@ -20,7 +26,7 @@ else
LDFLAGS+=-flto
endif
-PKGCONFIG_LIBS="blkid uuid liburcu libsodium"
+PKGCONFIG_LIBS="blkid uuid liburcu libsodium zlib"
CFLAGS+=`pkg-config --cflags ${PKGCONFIG_LIBS}`
LDLIBS+=`pkg-config --libs ${PKGCONFIG_LIBS}` \
-lm -lpthread -lrt -lscrypt -lkeyutils