]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Do not define ASAN_OPTIONS at build time
authorMichał Kępień <michal@isc.org>
Mon, 2 Dec 2019 15:03:23 +0000 (16:03 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 2 Dec 2019 15:03:23 +0000 (16:03 +0100)
Disabling ASAN memory leak detection for a build job is pointless
because ASAN is only used in test jobs.  (Also, memory leak detection
should not be disabled globally - explicit suppressions should be used
in case of issues with external code.)

.gitlab-ci.yml

index 39d5aad3a9d3b6e5109f9714226f893d333b0376..f7473ebca8b62bed8ea4bd188da7aef66bbfe853 100644 (file)
@@ -677,7 +677,6 @@ unit:gcc:bionic:amd64:
 asan:sid:amd64:
   variables:
     CC: gcc
-    ASAN_OPTIONS: "detect_leaks=0"
     CFLAGS: "${CFLAGS_COMMON} -fsanitize=address,undefined -DISC_MEM_USE_INTERNAL_MALLOC=0"
     LDFLAGS: "-fsanitize=address,undefined"
     EXTRA_CONFIGURE: "--with-libidn2"