mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 10:57:35 +03:00
Do not use exteranl storage for enableRuntimeCompile flag
This commit is contained in:
parent
5bb48d84c4
commit
a9f6875494
7 changed files with 18 additions and 11 deletions
|
@ -944,9 +944,11 @@ void registerPredefinedVersions() {
|
|||
VersionCondition::addPredefinedGlobalIdent("D_ObjectiveC");
|
||||
}
|
||||
|
||||
if (global.params.enableRuntimeCompile) {
|
||||
#if defined(LDC_RUNTIME_COMPILE)
|
||||
if (opts::enableRuntimeCompile) {
|
||||
VersionCondition::addPredefinedGlobalIdent("LDC_RuntimeCompilation");
|
||||
}
|
||||
#endif
|
||||
|
||||
// Define sanitizer versions.
|
||||
if (opts::isSanitizerEnabled(opts::AddressSanitizer)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue