From 6ee04f8458c20591a9dcc0bbc54f7dd34c2e7ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 2 Dec 2019 16:03:23 +0100 Subject: [PATCH] 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.) --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39d5aad3a9..f7473ebca8 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"