Skip to content

Commit

Permalink
Revert "disable llvm assertions on ARM compilers"
Browse files Browse the repository at this point in the history
This reverts commit afbbb74.
  • Loading branch information
dotdash committed Mar 26, 2016
1 parent 95697a8 commit 1eacb4a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/bootstrap/build/native.rs
Expand Up @@ -39,12 +39,7 @@ pub fn llvm(build: &Build, target: &str) {

let _ = fs::remove_dir_all(&dst.join("build"));
t!(fs::create_dir_all(&dst.join("build")));
let mut assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};

// Disable LLVM assertions on ARM compilers until #32360 is fixed
if target.contains("arm") && target.contains("gnu") {
assertions = "OFF";
}
let assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};

// http://llvm.org/docs/CMake.html
let mut cfg = cmake::Config::new(build.src.join("src/llvm"));
Expand Down

0 comments on commit 1eacb4a

Please sign in to comment.