diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index f783b2772..6e2bff245 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -18,7 +18,7 @@ echo "---------------------------------------------------------------" # This is a temporary fix: fall back to LLVM14's old pass manager -if [ -n "$OLD_LLVMPASS" ]; then +if [ -n "${OLD_LLVMPASS-}" ]; then export SANITIZER_FLAGS_introspector=$(echo $SANITIZER_FLAGS_introspector | sed -r 's/-O0/-flegacy-pass-manager/') fi