From: Fabrice Fontaine Date: Fri, 27 Dec 2019 09:39:59 +0000 (+0100) Subject: package/leveldb: disable benchmarks and tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=723dfa4d1b9c54fc13caa5aa60dd487fd47964e6;p=buildroot.git 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 --- 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