set nostrip for build with binaries export

This commit is contained in:
Yatsishin Ilya 2020-05-18 10:09:43 +03:00
parent 9c551b8b4d
commit c66d1a03eb

5
debian/rules vendored
View File

@ -21,10 +21,13 @@ ifeq ($(THREADS_COUNT),)
THREADS_COUNT=$(shell nproc || grep -c ^processor /proc/cpuinfo || sysctl -n hw.ncpu || echo 4)
endif
DEB_BUILD_OPTIONS+=parallel=$(THREADS_COUNT)
DEB_BUILD_OPTIONS+=nocheck
ifndef ENABLE_TESTS
CMAKE_FLAGS += -DENABLE_TESTS=0
else
# To export binaries and from deb build we do not strip them. No need to run tests in deb build as we run them in CI
DEB_BUILD_OPTIONS+=nocheck
DEB_BUILD_OPTIONS+=nostrip
endif
ifndef MAKE_TARGET