From: Arran Cudbard-Bell Date: Thu, 5 Apr 2018 12:39:34 +0000 (+0100) Subject: Unset ASAN_OPTIONS and LSAN_OPTIONS so they're not passed to scripts called from... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1093f88fe4d49d6beded9cb32802f86eccba5183;p=thirdparty%2Ffreeradius-server.git Unset ASAN_OPTIONS and LSAN_OPTIONS so they're not passed to scripts called from configure Leaving them enabled messes with some of the tests --- diff --git a/configure b/configure index 278c25ffcc9..d380a92b7c6 100755 --- a/configure +++ b/configure @@ -2533,6 +2533,9 @@ _ACEOF +unset ASAN_OPTIONS +unset LSAN_OPTIONS + # Extract the first word of "git", so it can be a program name with args. set dummy git; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 diff --git a/configure.ac b/configure.ac index 90fdd1b9465..33b1945d98b 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,13 @@ dnl # CFLAGS if were building in developer mode dnl # dnl ############################################################# +dnl # +dnl # Unset ASAN_OPTIONS and LSAN_OPTIONS so they don't interfere +dnl # with the build process. +dnl # +unset ASAN_OPTIONS +unset LSAN_OPTIONS + dnl # dnl # See if we have Git. dnl #