Skip to content

Commit

Permalink
Merge pull request #3719 from lucab/lucab/to-upstream/pull-2
Browse files Browse the repository at this point in the history
Fix #3701: rustllvm conditional build
  • Loading branch information
catamorphism committed Oct 17, 2012
2 parents ebce097 + 97ecde2 commit f5e71f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rustllvm/RustWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,5 +493,7 @@ extern "C" LLVMValueRef LLVMBuildAtomicRMW(LLVMBuilderRef B,
}

extern "C" void LLVMSetDebug(int Enabled) {
#ifndef NDEBUG
DebugFlag = Enabled;
#endif
}

0 comments on commit f5e71f5

Please sign in to comment.