Skip to content

Commit e7c1d57

Browse files
committed
Disable trial object downloads in debug builds without private sources
1 parent c1ab62c commit e7c1d57

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎Makefile‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ ifndef WITH_TOPLING_ROCKS
451451
# default 1
452452
WITH_TOPLING_ROCKS := 1
453453
endif
454+
ifeq ($(filter 0,${DEBUG_LEVEL})$(wildcard sideplugin/topling-rocks/src/table/top_patent_algo.cc),)
455+
override WITH_TOPLING_ROCKS := 0
456+
endif
454457

455458
ifeq (${WITH_TOPLING_ROCKS},1)
456459
ifneq (,$(wildcard sideplugin/topling-rocks))
@@ -493,6 +496,9 @@ endif
493496

494497
# allow override by env or cmd line
495498
WITH_CSPP_MEMTABLE ?= 1
499+
ifeq ($(filter 0,${DEBUG_LEVEL})$(wildcard sideplugin/cspp-memtable/cspp_memtable.cc),)
500+
override WITH_CSPP_MEMTABLE := 0
501+
endif
496502

497503
ifeq (${WITH_CSPP_MEMTABLE}${WITH_TOPLING_ROCKS},10)
498504
$(error "When WITH_CSPP_MEMTABLE is 1, WITH_TOPLING_ROCKS must be 1 also")

0 commit comments

Comments
 (0)