projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56e60e
)
package/rocksdb: add gflags optional dependency
author
Fabrice Fontaine
<fontaine.fabrice@gmail.com>
Fri, 14 Feb 2020 16:44:10 +0000
(17:44 +0100)
committer
Peter Korsgaard
<peter@korsgaard.com>
Sat, 15 Feb 2020 11:06:13 +0000
(12:06 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rocksdb/rocksdb.mk
patch
|
blob
|
history
diff --git
a/package/rocksdb/rocksdb.mk
b/package/rocksdb/rocksdb.mk
index e2a72b4dbe7dbd08f7ce8b8163be9a87ff520931..8109605916d31c54db3c58e2626eaa36b871a762 100644
(file)
--- a/
package/rocksdb/rocksdb.mk
+++ b/
package/rocksdb/rocksdb.mk
@@
-19,6
+19,13
@@
else
ROCKSDB_CONF_OPTS += ROCKSDB_DISABLE_BZ2=1
endif
+ifeq ($(BR2_PACKAGE_GFLAGS),y)
+ROCKSDB_DEPENDENCIES += gflags
+ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_GFLAGS=0
+else
+ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_GFLAGS=1
+endif
+
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
ROCKSDB_DEPENDENCIES += jemalloc
ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_JEMALLOC=0