build/test the sanitizers only when --enable-sanitizers is used

This commit is contained in:
Jorge Aparicio
2017-02-03 18:58:47 -05:00
parent 9af6aa3889
commit 775a93646c
11 changed files with 21 additions and 65 deletions
Vendored
+1
View File
@@ -649,6 +649,7 @@ opt codegen-tests 1 "run the src/test/codegen tests"
opt option-checking 1 "complain about unrecognized options in this configure script"
opt ninja 0 "build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
opt vendor 0 "enable usage of vendored Rust crates"
opt sanitizers 0 "build the sanitizer runtimes (asan, lsan, msan, tsan)"
# Optimization and debugging options. These may be overridden by the release channel, etc.
opt_nosave optimize 1 "build optimized rust code"