mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
opts::isRuntimeCompileEnabled() helper function
This commit is contained in:
parent
ac763b0520
commit
ccc87bdb9d
5 changed files with 9 additions and 12 deletions
|
@ -340,12 +340,10 @@ void ArgsBuilder::build(llvm::StringRef outputPath,
|
|||
args.push_back("-lldc-profile-rt");
|
||||
}
|
||||
|
||||
#if defined(LDC_RUNTIME_COMPILE)
|
||||
if (opts::enableRuntimeCompile) {
|
||||
if (opts::isRuntimeCompileEnabled()) {
|
||||
args.push_back("-lldc-jit-rt");
|
||||
args.push_back("-lldc-jit");
|
||||
}
|
||||
#endif
|
||||
|
||||
// user libs
|
||||
for (auto libfile : *global.params.libfiles) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue