From: Michał Kępień Date: Mon, 2 Dec 2019 15:03:23 +0000 (+0100) Subject: Do not define ASAN_OPTIONS at build time X-Git-Tag: v9.15.7~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee04f8458c20591a9dcc0bbc54f7dd34c2e7ffe;p=thirdparty%2Fbind9.git Do not define ASAN_OPTIONS at build time 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.) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39d5aad3a9d..f7473ebca8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"