diff options
Diffstat (limited to 'llvm_zluda/build.rs')
-rw-r--r-- | llvm_zluda/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm_zluda/build.rs b/llvm_zluda/build.rs index 9660b4d..ab66e1b 100644 --- a/llvm_zluda/build.rs +++ b/llvm_zluda/build.rs @@ -16,6 +16,8 @@ fn main() { let mut cmake = Config::new(r"../ext/llvm-project/llvm");
try_use_ninja(&mut cmake);
cmake
+ // It's not like we can do anything about the warnings
+ .define("LLVM_ENABLE_WARNINGS", "OFF")
// For some reason Rust always links to release MSVCRT
.define("CMAKE_MSVC_RUNTIME_LIBRARY", "MultiThreadedDLL")
.define("LLVM_ENABLE_TERMINFO", "OFF")
|