summaryrefslogtreecommitdiffstats
path: root/build_env
diff options
context:
space:
mode:
Diffstat (limited to 'build_env')
-rw-r--r--build_env2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_env b/build_env
index 74f7c0256e1..46cb18fdd89 100644
--- a/build_env
+++ b/build_env
@@ -24,7 +24,7 @@ if [ $REDHAT_MAJOR -ge 7 ]; then
fi
export GF_CONF_OPTS
-ASAN_ENABLED=0
+ASAN_ENABLED=${ASAN_ENABLED:=0}
# Check if ASAN is enabled
if [ "$ASAN_ENABLED" -eq "1" ]; then
GF_CONF_OPTS="$GF_CONF_OPTS --with-asan"