From 723dfa4d1b9c54fc13caa5aa60dd487fd47964e6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 27 Dec 2019 10:39:59 +0100 Subject: [PATCH] package/leveldb: disable benchmarks and tests Benchmarks and tests are enabled by default and benchmarks optionally depend on sqlite Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/leveldb/leveldb.mk | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2