aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-12-27 10:39:59 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-01-10 21:11:24 +0100
commitc751114c03c021538deae82c795ffbbf23f73dda (patch)
tree9d7dfb7056ad8fcd7e51cefe7ee6b3c8114bf85d
parentdba82ff899fbab251a9856d2b742b208674d99c2 (diff)
downloadbuildroot-c751114c03c021538deae82c795ffbbf23f73dda.tar.gz
buildroot-c751114c03c021538deae82c795ffbbf23f73dda.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> (cherry picked from commit 723dfa4d1b9c54fc13caa5aa60dd487fd47964e6) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-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