TT#111150 add a build profile to build with asan enabled

Change-Id: Ifa44e76c651fbba46c02e21bc8191dcd3b851cca
pull/1307/head
Richard Fuchs 4 years ago
parent 432cf82f71
commit fafc1d73ec

6
debian/rules vendored

@ -24,6 +24,12 @@ XTABLES_DIR:=$(shell pkg-config xtables --variable=xtlibdir || echo /lib/xtables
ifneq (,$(filter $(DEB_BUILD_PROFILES),pkg.ngcp-rtpengine.no-transcoding)) ifneq (,$(filter $(DEB_BUILD_PROFILES),pkg.ngcp-rtpengine.no-transcoding))
export with_transcoding = no export with_transcoding = no
endif endif
ifneq (,$(filter $(DEB_BUILD_PROFILES),pkg.ngcp-rtpengine.asan))
export DO_ASAN_FLAGS = 1
# this prevents dh from setting default (including -O2) which we don't want
export DEB_CFLAGS_MAINT_SET =
export DEB_LDFLAGS_MAINT_SET =
endif
%: %:
dh $@ dh $@

Loading…
Cancel
Save