diff options
author | Luke Yeager <luke.yeager@gmail.com> | 2015-09-25 15:53:54 -0700 |
---|---|---|
committer | Luke Yeager <luke.yeager@gmail.com> | 2015-09-25 15:55:40 -0700 |
commit | b93afe8378cd66d9bf375a0f492a30f9db77e8ae (patch) | |
tree | b5f6e6a203a1bb564f046c56d4fef667d6cc2458 /Makefile | |
parent | aaf4a4557668dfb75c540903ec02ed5821f75835 (diff) | |
download | caffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.tar.gz caffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.tar.bz2 caffeonacl-b93afe8378cd66d9bf375a0f492a30f9db77e8ae.zip |
Add ALLOW_LMDB_NOLOCK build option
This option lets you open LMDB files with the MDB_NOLOCK flag. You
should not set this flag if you will be reading LMDBs with any
possibility of simultaneous read and write.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -313,6 +313,9 @@ ifeq ($(USE_LEVELDB), 1) endif ifeq ($(USE_LMDB), 1) COMMON_FLAGS += -DUSE_LMDB +ifeq ($(ALLOW_LMDB_NOLOCK), 1) + COMMON_FLAGS += -DALLOW_LMDB_NOLOCK +endif endif # CPU-only configuration |