diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-11-07 15:52:44 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-01-28 17:01:48 +0100 |
commit | 9ebdf047578f0da7e6578d0c51c32f55e84ac157 (patch) | |
tree | 7cd64e5ced186f46aa40f9a14e24b04081105cea /src/Makefile.leveldb.include | |
parent | 402252a8081e25f22aa1a5c60708714cf1d84ec4 (diff) |
build: CRC32C build system integration
Diffstat (limited to 'src/Makefile.leveldb.include')
-rw-r--r-- | src/Makefile.leveldb.include | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.leveldb.include b/src/Makefile.leveldb.include index 72bcb00e85..04b53471e4 100644 --- a/src/Makefile.leveldb.include +++ b/src/Makefile.leveldb.include @@ -8,7 +8,7 @@ LIBMEMENV_INT = leveldb/libmemenv.a EXTRA_LIBRARIES += $(LIBLEVELDB_INT) EXTRA_LIBRARIES += $(LIBMEMENV_INT) -LIBLEVELDB += $(LIBLEVELDB_INT) +LIBLEVELDB += $(LIBLEVELDB_INT) $(LIBCRC32C) LIBMEMENV += $(LIBMEMENV_INT) LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/include @@ -16,8 +16,9 @@ LEVELDB_CPPFLAGS += -I$(srcdir)/leveldb/helpers/memenv LEVELDB_CPPFLAGS_INT = LEVELDB_CPPFLAGS_INT += -I$(srcdir)/leveldb +LEVELDB_CPPFLAGS_INT += -I$(srcdir)/crc32c/include LEVELDB_CPPFLAGS_INT += -D__STDC_LIMIT_MACROS -LEVELDB_CPPFLAGS_INT += -DHAVE_SNAPPY=0 -DHAVE_CRC32C=0 +LEVELDB_CPPFLAGS_INT += -DHAVE_SNAPPY=0 -DHAVE_CRC32C=1 LEVELDB_CPPFLAGS_INT += -DHAVE_FDATASYNC=@HAVE_FDATASYNC@ LEVELDB_CPPFLAGS_INT += -DHAVE_FULLFSYNC=@HAVE_FULLFSYNC@ LEVELDB_CPPFLAGS_INT += -DHAVE_O_CLOEXEC=@HAVE_O_CLOEXEC@ |