aboutsummaryrefslogtreecommitdiff
path: root/package/leveldb
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-12-27 10:39:59 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-01-07 21:23:55 +0100
commit723dfa4d1b9c54fc13caa5aa60dd487fd47964e6 (patch)
tree9685a67684255ed96c3b7d98ee402b7cb6f64362 /package/leveldb
parent51ec0f48eee4115b4eee745902151e2583b01016 (diff)
downloadbuildroot-723dfa4d1b9c54fc13caa5aa60dd487fd47964e6.tar.gz
buildroot-723dfa4d1b9c54fc13caa5aa60dd487fd47964e6.tar.bz2
package/leveldb: disable benchmarks and tests
Benchmarks and tests are enabled by default and benchmarks optionally depend on sqlite Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/leveldb')
-rw-r--r--package/leveldb/leveldb.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/leveldb/leveldb.mk b/package/leveldb/leveldb.mk
index 5baf56c718..5f5288be1c 100644
--- a/package/leveldb/leveldb.mk
+++ b/package/leveldb/leveldb.mk
@@ -10,6 +10,9 @@ LEVELDB_LICENSE = BSD-3-Clause
LEVELDB_LICENSE_FILES = LICENSE
LEVELDB_INSTALL_STAGING = YES
LEVELDB_DEPENDENCIES = snappy
+LEVELDB_CONF_OPTS = \
+ -DLEVELDB_BUILD_BENCHMARKS=OFF \
+ -DLEVELDB_BUILD_TESTS=OFF
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
LEVELDB_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic